ViewConfiguration.GetFocusTraversalThreshold(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.
Provides the focus traversal threshold (in pixels) for a motion generated by a specific input device configuration and motion axis.
[Android.Runtime.Register("getFocusTraversalThreshold", "(III)I", "GetGetFocusTraversalThreshold_IIIHandler", ApiSince=37)]
public virtual int GetFocusTraversalThreshold(int inputDeviceId, int axis, int source);
[<Android.Runtime.Register("getFocusTraversalThreshold", "(III)I", "GetGetFocusTraversalThreshold_IIIHandler", ApiSince=37)>]
abstract member GetFocusTraversalThreshold : int * int * int -> int
override this.GetFocusTraversalThreshold : int * int * int -> int
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
the focus traversal threshold in pixels. If focus traversal is not supported for the given configuration, this method returns -1.
- Attributes
Remarks
Provides the focus traversal threshold (in pixels) for a motion generated by a specific input device configuration and motion axis.
Focus traversal threshold here refers to the minimum movement distance required to trigger a focus traversal event.
Android reference for android.view.ViewConfiguration.getFocusTraversalThreshold.
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.