AccessibilityNodeInfo.InputType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得來源的輸入型態,定義為 InputType。 -或- 設定來源的輸入型別,定義為 InputType。
public virtual Android.Text.InputTypes InputType { [Android.Runtime.Register("getInputType", "()I", "GetGetInputTypeHandler")] get; [Android.Runtime.Register("setInputType", "(I)V", "GetSetInputType_IHandler")] set; }
[<get: Android.Runtime.Register("getInputType", "()I", "GetGetInputTypeHandler")>]
[<set: Android.Runtime.Register("setInputType", "(I)V", "GetSetInputType_IHandler")>]
member this.InputType : Android.Text.InputTypes with get, set
屬性值
輸入類型。
- 屬性
例外狀況
如果是從無障礙服務(AccessibilityService)打電話來。
備註
財產取得者文件:
取得來源的輸入型態,定義為 InputType。
Java 文件 android.view.accessibility.AccessibilityNodeInfo.getInputType()。
屬性設定文件:
設定來源的輸入型別,定義為 InputType。
<strong>注意:</strong> 不能從 android.accessibilityservice.AccessibilityService. 此類別在交付給無障礙服務前會被設定為不可變。
Java 文件 android.view.accessibility.AccessibilityNodeInfo.setInputType(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。