Build 1.0_r1(from source)

android.view
Class SoundEffectConstants

java.lang.Object
  extended by android.view.SoundEffectConstants

public class SoundEffectConstants
extends Object

Constants to be used to play sound effects via View.playSoundEffect(int)


Field Summary
static int CLICK
           
static int NAVIGATION_DOWN
           
static int NAVIGATION_LEFT
           
static int NAVIGATION_RIGHT
           
static int NAVIGATION_UP
           
 
Method Summary
static int getContantForFocusDirection(int direction)
          Get the sonification constant for the focus directions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

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.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature