다음을 통해 공유


AccessibilityEvent.AccessibilityDataSensitive Property

Definition

Whether the event should only be delivered to an android.accessibilityservice.AccessibilityService with the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true. -or- Sets whether the event should only be delivered to an android.accessibilityservice.AccessibilityService with the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true.

public bool AccessibilityDataSensitive { [Android.Runtime.Register("isAccessibilityDataSensitive", "()Z", "", ApiSince=34)] get; [Android.Runtime.Register("setAccessibilityDataSensitive", "(Z)V", "", ApiSince=34)] set; }
[<get: Android.Runtime.Register("isAccessibilityDataSensitive", "()Z", "", ApiSince=34)>]
[<set: Android.Runtime.Register("setAccessibilityDataSensitive", "(Z)V", "", ApiSince=34)>]
member this.AccessibilityDataSensitive : bool with get, set

Property Value

True if the event should be delivered only to isAccessibilityTool services, false otherwise.

Attributes

Remarks

Property getter documentation:

Whether the event should only be delivered to an android.accessibilityservice.AccessibilityService with the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true.

Initial value matches the android.view.View#isAccessibilityDataSensitive property from the event's source node, if present, or false by default.

Java documentation for android.view.accessibility.AccessibilityEvent.isAccessibilityDataSensitive().

Property setter documentation:

Sets whether the event should only be delivered to an android.accessibilityservice.AccessibilityService with the android.accessibilityservice.AccessibilityServiceInfo#isAccessibilityTool property set to true.

This will be set automatically based on the event's source (if present). If creating and sending an event directly through AccessibilityManager (where an event may have no source) then this method must be called explicitly if you want non-default behavior.

Java documentation for android.view.accessibility.AccessibilityEvent.setAccessibilityDataSensitive(boolean).

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