Language

ViewConfiguration.GetFocusTraversalThreshold(Int32, Int32, Int32) Method

Definition

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

Applies to