一、結構
public class SoundEffectConstants extends Object
java.lang.Object
android.view.SoundEffectConstants
二、概述
三、常量
public static final int CLICK
(譯者注:單擊事件)常量,取值0 (0x00000000)
public static final int NAVIGATION_DOWN
(譯者注:<code>View.FOCUS_DOWN</code>)常量,取值4 (0x00000004)
public static final int NAVIGATION_LEFT
(譯者注:<code>View.FOCUS_LEFT</code>)常量,取值1 (0x00000001)
public static final int NAVIGATION_RIGHT
(譯者注:<code>View.FOCUS_RIGHT</code>)常量,取值3 (0x00000003)
public static final int NAVIGATION_UP
(譯者注:<code>View.FOCUS_UP</code>)常量,取值2 (0x00000002)
四、公共方法
public static int getContantForFocusDirection(int direction)
針對不同聲音方向,獲得相應的發聲常數。
參數
傳回值
合适的發聲常數
五、補充
文章連結