DeviceSettings

public abstract class DeviceSettings


デバイスのセキュリティ関連のデバイス設定に関する情報。

概要

ネストされた型

public abstract class DeviceSettings.Builder

DeviceSettings のビルダー。

デバイスの暗号化ステータス。

デバイスで Google Play プロテクトの確認が有効になっているかどうか。

デバイスまたはプロファイルの保護に使用される画面ロックの複雑さ。

パブリック メソッド

static DeviceSettings.Builder
static DeviceSettings
abstract DeviceSettings.EncryptionStatus

暗号化ステータス。

Metadata

暗号化ステータスに関するメタデータ。

abstract DeviceSettings.GooglePlayProtectVerifyAppsState

デバイスで Google Play プロテクトの確認が有効になっているかどうか。

Metadata

Google Play プロテクトのアプリの確認のステータスに関するメタデータ。

abstract DeviceSettings.ScreenLockComplexity

デバイスまたはプロファイルの保護に使用される画面ロックの複雑さ。

Metadata

画面ロックの複雑さに関するメタデータ。

boolean

encryptionStatusMetadata が設定されている場合は true を返します。

boolean

googlePlayProtectVerifyAppsStateMetadata が設定されている場合は true を返します。

boolean

screenLockComplexityMetadata が設定されている場合は true を返します。

abstract DeviceSettings.Builder

パブリック メソッド

builder

public static DeviceSettings.Builder builder()

getDefaultInstance

public static DeviceSettings getDefaultInstance()

getEncryptionStatus

public abstract DeviceSettings.EncryptionStatus getEncryptionStatus()

暗号化ステータス。

getEncryptionStatusMetadata

public Metadata getEncryptionStatusMetadata()

暗号化ステータスに関するメタデータ。

getGooglePlayProtectVerifyAppsState

public abstract DeviceSettings.GooglePlayProtectVerifyAppsState getGooglePlayProtectVerifyAppsState()

デバイスで Google Play プロテクトの確認が有効になっているかどうか。

getGooglePlayProtectVerifyAppsStateMetadata

public Metadata getGooglePlayProtectVerifyAppsStateMetadata()

Google Play プロテクトのアプリの確認のステータスに関するメタデータ。

getScreenLockComplexity

public abstract DeviceSettings.ScreenLockComplexity getScreenLockComplexity()

デバイスまたはプロファイルの保護に使用される画面ロックの複雑さ。これには、呼び出し元に REQUEST_PASSWORD_COMPLEXITY 権限が必要です。

getScreenLockComplexityMetadata

public Metadata getScreenLockComplexityMetadata()

画面ロックの複雑さに関するメタデータ。

hasEncryptionStatusMetadata

public boolean hasEncryptionStatusMetadata()

encryptionStatusMetadata が設定されている場合は true を返します。

hasGooglePlayProtectVerifyAppsStateMetadata

public boolean hasGooglePlayProtectVerifyAppsStateMetadata()

googlePlayProtectVerifyAppsStateMetadata が設定されている場合は true を返します。

hasScreenLockComplexityMetadata

public boolean hasScreenLockComplexityMetadata()

screenLockComplexityMetadata が設定されている場合は true を返します。

toBuilder

public abstract DeviceSettings.Builder toBuilder()