語言

ViewConfiguration.GetFocusTraversalThreshold(Int32, Int32, Int32) 方法

定義

提供特定輸入裝置配置與運動軸所產生運動的焦點穿越閾值(以像素為單位)。

[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

參數

inputDeviceId
Int32

產生該動作的 ID InputDevice 。

axis
Int32

運動軸。

source
Int32

運動的輸入來源。

傳回

聚焦穿透閾值(像素數)。 若該配置不支援焦點遍歷,則此方法回傳 -1。

屬性

適用於