android.view
Class SoundEffectConstants
java.lang.Object
android.view.SoundEffectConstants
public class SoundEffectConstants
- extends Object
Constants to be used to play sound effects via View.playSoundEffect(int)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLICK
public static final int CLICK
- See Also:
- Constant Field Values
NAVIGATION_LEFT
public static final int NAVIGATION_LEFT
- See Also:
- Constant Field Values
NAVIGATION_UP
public static final int NAVIGATION_UP
- See Also:
- Constant Field Values
NAVIGATION_RIGHT
public static final int NAVIGATION_RIGHT
- See Also:
- Constant Field Values
NAVIGATION_DOWN
public static final int NAVIGATION_DOWN
- See Also:
- Constant Field Values
getContantForFocusDirection
public static int getContantForFocusDirection(int direction)
- Get the sonification constant for the focus directions.
- Parameters:
direction - One of View.FOCUS_UP, View.FOCUS_DOWN,
View.FOCUS_LEFT, View.FOCUS_RIGHT, View.FOCUS_FORWARD
or View.FOCUS_BACKWARD
- Returns:
- The appropriate sonification constant.
Please submit a feedback, bug or feature