Property

isSensitiveData

Whether this semantics node should only allow interactions from android.accessibilityservice.AccessibilityServices with the android.accessibilityservice.AccessibilityServiceInfo.isAccessibilityTool property set to true.

Source set: Common
public var SemanticsPropertyReceiver.isSensitiveData: Boolean by SemanticsProperties.IsSensitiveData

Whether this semantics node should only allow interactions from android.accessibilityservice.AccessibilityServices with the android.accessibilityservice.AccessibilityServiceInfo.isAccessibilityTool property set to true.

This property allows the node to remain visible and interactive to Accessibility Services declared as accessibility tools that assist users with disabilities, while simultaneously hiding this node and its generated AccessibilityEvents from other Accessibility Services that are not declared as accessibility tools.

If looking for a way to hide the node from all Accessibility Services then consider SemanticsProperties.HideFromAccessibility instead.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: