SoundEffectConstants.GetConstantForFocusDirection Method

Definition

Get the sonification constant for the focus directions

[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

Parameters

direction
FocusSearchDirection

The direction of the focus.

repeating
Boolean

True if the user long-presses a direction

Returns

The appropriate sonification constant

Attributes

Remarks

Get the sonification constant for the focus directions

Java documentation for android.view.SoundEffectConstants.getConstantForFocusDirection(int, boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to