public
class
SoundEffectConstants
extends Object
java.lang.Object | |
↳ | android.view.SoundEffectConstants |
Constants to be used to play sound effects via playSoundEffect(int)
Constants | |
---|---|
int |
CLICK
|
int |
NAVIGATION_DOWN
|
int |
NAVIGATION_LEFT
|
int |
NAVIGATION_RIGHT
|
int |
NAVIGATION_UP
|
Public methods | |
---|---|
static
int
|
getContantForFocusDirection(int direction)
Get the sonification constant for the focus directions. |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
int getContantForFocusDirection (int direction)
Get the sonification constant for the focus directions.
Parameters | |
---|---|
direction |
int :
One of FOCUS_UP , FOCUS_DOWN ,
FOCUS_LEFT , FOCUS_RIGHT , FOCUS_FORWARD
or FOCUS_BACKWARD |
Returns | |
---|---|
int |
The appropriate sonification constant. |