SoundEffectConstants.GetConstantForFocusDirection 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得對焦方向的音化常數
[Android.Runtime.Register("getConstantForFocusDirection", "(IZ)I", "", ApiSince=31)]
public static Android.Views.SoundEffects GetConstantForFocusDirection(Android.Views.FocusSearchDirection direction, bool repeating);
[<Android.Runtime.Register("getConstantForFocusDirection", "(IZ)I", "", ApiSince=31)>]
static member GetConstantForFocusDirection : Android.Views.FocusSearchDirection * bool -> Android.Views.SoundEffects
參數
- direction
- FocusSearchDirection
焦點的方向。
- repeating
- Boolean
如果使用者長按方向鍵,則為真
傳回
適當的音化常數
- 屬性
備註
取得對焦方向的音化常數
Java 文件 android.view.SoundEffectConstants.getConstantForFocusDirection(int, boolean)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。