Share via


View.SetAccessibilityDataSensitive(AccessibilityDataSensitive) Method

Definition

Specifies whether this view should only allow interactions from android.accessibilityservice.AccessibilityServices with the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true.

[Android.Runtime.Register("setAccessibilityDataSensitive", "(I)V", "GetSetAccessibilityDataSensitive_IHandler", ApiSince=34)]
public virtual void SetAccessibilityDataSensitive (Android.Views.AccessibilityDataSensitive accessibilityDataSensitive);
[<Android.Runtime.Register("setAccessibilityDataSensitive", "(I)V", "GetSetAccessibilityDataSensitive_IHandler", ApiSince=34)>]
abstract member SetAccessibilityDataSensitive : Android.Views.AccessibilityDataSensitive -> unit
override this.SetAccessibilityDataSensitive : Android.Views.AccessibilityDataSensitive -> unit

Parameters

accessibilityDataSensitive
AccessibilityDataSensitive
Attributes

Remarks

Specifies whether this view should only allow interactions from android.accessibilityservice.AccessibilityServices with the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true.

Java documentation for android.view.View.setAccessibilityDataSensitive(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