DeviceSettings

public abstract class DeviceSettings


Thông tin về các chế độ cài đặt bảo mật liên quan đến thiết bị trên thiết bị.

Tóm tắt

Các loại lồng nhau

public abstract class DeviceSettings.Builder

Trình tạo cho DeviceSettings.

Trạng thái mã hoá của một thiết bị.

Google Play Protect có được bật trên thiết bị hay không.

Độ phức tạp của phương thức khoá màn hình dùng để bảo vệ thiết bị hoặc hồ sơ.

Phương thức công khai

static DeviceSettings.Builder
static DeviceSettings
abstract DeviceSettings.EncryptionStatus

Trạng thái mã hoá.

Metadata

Siêu dữ liệu về trạng thái mã hoá.

abstract DeviceSettings.GooglePlayProtectVerifyAppsState

Google Play Protect có được bật trên thiết bị hay không.

Metadata

Siêu dữ liệu về trạng thái xác minh ứng dụng của Google Play Protect.

abstract DeviceSettings.ScreenLockComplexity

Độ phức tạp của phương thức khoá màn hình dùng để bảo vệ thiết bị hoặc hồ sơ.

Metadata

Siêu dữ liệu về độ phức tạp của khoá màn hình.

boolean

Trả về true nếu bạn đặt encryptionStatusMetadata.

boolean

Trả về true nếu googlePlayProtectVerifyAppsStateMetadata được đặt.

boolean

Trả về true nếu screenLockComplexityMetadata được đặt.

abstract DeviceSettings.Builder

Phương thức công khai

trình tạo

public static DeviceSettings.Builder builder()

getDefaultInstance

public static DeviceSettings getDefaultInstance()

getEncryptionStatus

public abstract DeviceSettings.EncryptionStatus getEncryptionStatus()

Trạng thái mã hoá.

getEncryptionStatusMetadata

public Metadata getEncryptionStatusMetadata()

Siêu dữ liệu về trạng thái mã hoá.

getGooglePlayProtectVerifyAppsState

public abstract DeviceSettings.GooglePlayProtectVerifyAppsState getGooglePlayProtectVerifyAppsState()

Google Play Protect có được bật trên thiết bị hay không.

getGooglePlayProtectVerifyAppsStateMetadata

public Metadata getGooglePlayProtectVerifyAppsStateMetadata()

Siêu dữ liệu về trạng thái xác minh ứng dụng của Google Play Protect.

getScreenLockComplexity

public abstract DeviceSettings.ScreenLockComplexity getScreenLockComplexity()

Độ phức tạp của phương thức khoá màn hình dùng để bảo vệ thiết bị hoặc hồ sơ. Điều này yêu cầu phương thức gọi phải có quyền REQUEST_PASSWORD_COMPLEXITY.

getScreenLockComplexityMetadata

public Metadata getScreenLockComplexityMetadata()

Siêu dữ liệu về độ phức tạp của khoá màn hình.

hasEncryptionStatusMetadata

public boolean hasEncryptionStatusMetadata()

Trả về true nếu bạn đặt encryptionStatusMetadata.

hasGooglePlayProtectVerifyAppsStateMetadata

public boolean hasGooglePlayProtectVerifyAppsStateMetadata()

Trả về true nếu googlePlayProtectVerifyAppsStateMetadata được đặt.

hasScreenLockComplexityMetadata

public boolean hasScreenLockComplexityMetadata()

Trả về true nếu screenLockComplexityMetadata được đặt.

toBuilder

public abstract DeviceSettings.Builder toBuilder()