共用方式為


View.AccessibilityDataSensitiveAuto Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.AccessibilityDataSensitive enum directly instead of this field.

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

[Android.Runtime.Register("ACCESSIBILITY_DATA_SENSITIVE_AUTO", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.AccessibilityDataSensitive enum directly instead of this field.", true)]
public const Android.Views.AccessibilityDataSensitive AccessibilityDataSensitiveAuto = 0;
[<Android.Runtime.Register("ACCESSIBILITY_DATA_SENSITIVE_AUTO", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.AccessibilityDataSensitive enum directly instead of this field.", true)>]
val mutable AccessibilityDataSensitiveAuto : Android.Views.AccessibilityDataSensitive

Field Value

Value = 0
Attributes

Remarks

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

Accessibility interactions from services without isAccessibilityTool set to true are disallowed for any of the following conditions: <li>this view sets #getFilterTouchesWhenObscured().</li> <li>any parent of this view returns true from #isAccessibilityDataSensitive().</li>

Java documentation for android.view.View.ACCESSIBILITY_DATA_SENSITIVE_AUTO.

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