backupService property

String? backupService
getter/setter pair

Controls whether the backup service is disabled.

Supported only on fully managed devices running Android 8 and above.

Optional. Possible string values are:

  • "BACKUP_SERVICE_UNSPECIFIED" : Unspecified. Defaults to BACKUP_SERVICE_DISABLED.
  • "BACKUP_SERVICE_DISABLED" : Backup service is disabled. The user is not allowed to change this setting. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 8 on a fully managed device.
  • "BACKUP_SERVICE_USER_CHOICE" : The user can enable or disable the backup service. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 8 on a fully managed device.

Implementation

core.String? backupService;