public static enum OtpConfiguration.TokenRootPolicy extends java.lang.Enum<OtpConfiguration.TokenRootPolicy>
Enum Constant and Description |
---|
FAIL
A
RootPolicyException is
thrown when calling a method in the Mobile Protector SDK that detects if
the physical device is rooted. |
IGNORE
No action is taken when calling a method in the Mobile Protector SDK that
detects if the physical device is rooted.
|
REMOVE_ALL_TOKENS
A
RootPolicyException is
thrown and all tokens are silently removed when calling a method in
the Mobile Protector SDK that detects if the physical device is rooted. |
REMOVE_TOKEN
A
RootPolicyException is
thrown and the associated token is silently removed when calling a
method in the Mobile Protector SDK that detects if the physical device is
rooted. |
Modifier and Type | Method and Description |
---|---|
static OtpConfiguration.TokenRootPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OtpConfiguration.TokenRootPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OtpConfiguration.TokenRootPolicy IGNORE
public static final OtpConfiguration.TokenRootPolicy FAIL
RootPolicyException
is
thrown when calling a method in the Mobile Protector SDK that detects if
the physical device is rooted. Notice! This is the default
root policy.public static final OtpConfiguration.TokenRootPolicy REMOVE_TOKEN
RootPolicyException
is
thrown and the associated token is silently removed when calling a
method in the Mobile Protector SDK that detects if the physical device is
rooted.public static final OtpConfiguration.TokenRootPolicy REMOVE_ALL_TOKENS
RootPolicyException
is
thrown and all tokens are silently removed when calling a method in
the Mobile Protector SDK that detects if the physical device is rooted.public static OtpConfiguration.TokenRootPolicy[] values()
for (OtpConfiguration.TokenRootPolicy c : OtpConfiguration.TokenRootPolicy.values()) System.out.println(c);
public static OtpConfiguration.TokenRootPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null