語言

SoundEffectConstants.GetConstantForFocusDirection 方法

定義

取得對焦方向的音化常數

[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於