setAccessibilityDataSensitive
open fun setAccessibilityDataSensitive(@NonNull event: AccessibilityEvent, accessibilityDataSensitive: Boolean)(source)
Sets whether the event should only be delivered to an android.accessibilityservice.AccessibilityService with the 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 android.view.accessibility.AccessibilityManager (where an event may have no source) then this method must be called explicitly if you want non-default behavior.
Parameters
event
The event to update.
accessibilityDataSensitive
True if the event should be delivered only to isAccessibilityTool services, false otherwise.
Throws
If called from an AccessibilityService.