assistContentPolicy property
Controls whether AssistContent (https://developer.android.com/reference/android/app/assist/AssistContent) is allowed to be sent to a privileged app such as an assistant app.
AssistContent includes screenshots and information about an app, such as package name. This is supported on Android 15 and above.
Optional. Possible string values are:
- "ASSIST_CONTENT_POLICY_UNSPECIFIED" : Unspecified. Defaults to ASSIST_CONTENT_ALLOWED.
- "ASSIST_CONTENT_DISALLOWED" : Assist content is blocked from being sent to a privileged app.Supported on Android 15 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 15.
- "ASSIST_CONTENT_ALLOWED" : Assist content is allowed to be sent to a privileged app.Supported on Android 15 and above.
Implementation
core.String? assistContentPolicy;