DeviceSettings.Builder

public abstract class DeviceSettings.Builder


Builder for DeviceSettings.

Summary

Public methods

abstract DeviceSettings
DeviceSettings.Builder

Clears encryptionStatusMetadata.

DeviceSettings.Builder

Clears googlePlayProtectVerifyAppsStateMetadata.

DeviceSettings.Builder

Clears screenLockComplexityMetadata.

abstract DeviceSettings.Builder

Encryption status.

DeviceSettings.Builder

Metadata about encryption status.

abstract DeviceSettings.Builder

Whether Google Play Protect verification is enabled on the device.

DeviceSettings.Builder

Metadata about google play protect verify apps state.

abstract DeviceSettings.Builder

Complexity of the screen lock used to protect the device or the profile.

DeviceSettings.Builder

Metadata about screen lock complexity.

Public methods

build

public abstract DeviceSettings build()

clearEncryptionStatusMetadata

public DeviceSettings.Builder clearEncryptionStatusMetadata()

Clears encryptionStatusMetadata.

clearGooglePlayProtectVerifyAppsStateMetadata

public DeviceSettings.Builder clearGooglePlayProtectVerifyAppsStateMetadata()

Clears googlePlayProtectVerifyAppsStateMetadata.

clearScreenLockComplexityMetadata

public DeviceSettings.Builder clearScreenLockComplexityMetadata()

Clears screenLockComplexityMetadata.

setEncryptionStatus

public abstract DeviceSettings.Builder setEncryptionStatus(DeviceSettings.EncryptionStatus value)

Encryption status.

setEncryptionStatusMetadata

public DeviceSettings.Builder setEncryptionStatusMetadata(Metadata value)

Metadata about encryption status.

setGooglePlayProtectVerifyAppsState

public abstract DeviceSettings.Builder setGooglePlayProtectVerifyAppsState(
    DeviceSettings.GooglePlayProtectVerifyAppsState value
)

Whether Google Play Protect verification is enabled on the device.

setGooglePlayProtectVerifyAppsStateMetadata

public DeviceSettings.Builder setGooglePlayProtectVerifyAppsStateMetadata(Metadata value)

Metadata about google play protect verify apps state.

setScreenLockComplexity

public abstract DeviceSettings.Builder setScreenLockComplexity(DeviceSettings.ScreenLockComplexity value)

Complexity of the screen lock used to protect the device or the profile. This requires the caller to have the REQUEST_PASSWORD_COMPLEXITY permission.

setScreenLockComplexityMetadata

public DeviceSettings.Builder setScreenLockComplexityMetadata(Metadata value)

Metadata about screen lock complexity.