userControlSettings property
Specifies whether user control is permitted for the app.
User control includes user actions like force-stopping and clearing app data. Supported on Android 11 and above.
Optional. Possible string values are:
- "USER_CONTROL_SETTINGS_UNSPECIFIED" : Uses the default behaviour of the app to determine if user control is allowed or disallowed. For most apps, user control is allowed by default, but for some critical apps such as companion apps (extensionConfig set to true), kiosk apps and other critical system apps, user control is disallowed.
- "USER_CONTROL_ALLOWED" : User control is allowed for the app. Kiosk apps can use this to allow user control.
- "USER_CONTROL_DISALLOWED" : User control is disallowed for the app. API_LEVEL is reported if the Android version is less than 11.
Implementation
core.String? userControlSettings;