SoundEffectConstants
public class SoundEffectConstants
extends Object
用于通过 playSoundEffect(int)
播放声音效果的 playSoundEffect(int)
Summary
Constants
CLICK
int CLICK
常量值:0(0x00000000)
NAVIGATION_DOWN
int NAVIGATION_DOWN
常量值:4(0x00000004)
NAVIGATION_LEFT
int NAVIGATION_LEFT
常数值:1(0x00000001)
NAVIGATION_RIGHT
int NAVIGATION_RIGHT
常量值:3(0x00000003)
NAVIGATION_UP
int NAVIGATION_UP
常量值:2(0x00000002)
Public methods
getContantForFocusDirection
int getContantForFocusDirection (int direction)
获取重点方向的声波常数。
Returns |
int |
The appropriate sonification constant. |