DeviceSettings.GooglePlayProtectVerifyAppsState

public enum DeviceSettings.GooglePlayProtectVerifyAppsState


Whether Google Play Protect verification is enabled on the device.

Summary

Enum Values

DISABLED

Verification is not enabled.

ENABLED

Verification is enabled.

ENFORCED_BY_POLICY

Verification is enabled and the policy doesn't allow disabling it.

GOOGLE_PLAY_PROTECT_VERIFY_APPS_STATE_UNSPECIFIED

This value is disallowed.

Public methods

static DeviceSettings.GooglePlayProtectVerifyAppsState

Returns the enum constant of this type with the specified name.

static DeviceSettings.GooglePlayProtectVerifyAppsState[]

Returns an array containing the constants of this enum type, in the order they're declared.

Public methods

valueOf

public static DeviceSettings.GooglePlayProtectVerifyAppsState valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
DeviceSettings.GooglePlayProtectVerifyAppsState

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static DeviceSettings.GooglePlayProtectVerifyAppsState[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
DeviceSettings.GooglePlayProtectVerifyAppsState[]

an array containing the constants of this enum type, in the order they're declared