ViewConfiguration.GetFocusTraversalThreshold(Int32, Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供特定輸入裝置配置與運動軸所產生運動的焦點穿越閾值(以像素為單位)。
[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。
- 屬性