SoundEffectConstants.GetConstantForFocusDirection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.