ViewConfiguration.IsFocusNavigationEnabled(Int32, Int32, Int32) 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.
Checks whether focus navigation is enabled for a motion generated by a specific input device configuration and motion axis.
[Android.Runtime.Register("isFocusNavigationEnabled", "(III)Z", "GetIsFocusNavigationEnabled_IIIHandler", ApiSince=37)]
public virtual bool IsFocusNavigationEnabled(int inputDeviceId, int axis, int source);
[<Android.Runtime.Register("isFocusNavigationEnabled", "(III)Z", "GetIsFocusNavigationEnabled_IIIHandler", ApiSince=37)>]
abstract member IsFocusNavigationEnabled : int * int * int -> bool
override this.IsFocusNavigationEnabled : int * int * int -> bool
Parameters
- inputDeviceId
- Int32
the ID of the InputDevice that generated the motion.
- axis
- Int32
the axis of the motion.
- source
- Int32
the input source of the motion.
Returns
true if focus navigation is enabled for the given configuration.
- Attributes
Remarks
Checks whether focus navigation is enabled for a motion generated by a specific input device configuration and motion axis.
When enabled, the input should be used for focus navigation and highlighting in addition to or instead of scrolling. This allows for a touch-free navigation experience.
Android reference for android.view.ViewConfiguration.isFocusNavigationEnabled.
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.