Share via


AccessibilityNodeInfo.InputType Property

Definition

Gets the input type of the source as defined by InputType. -or- Sets the input type of the source as defined by 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

Property Value

The input type.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets the input type of the source as defined by InputType.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.getInputType().

Property setter documentation:

Sets the input type of the source as defined by InputType.

<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.setInputType(int).

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.

Applies to