java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.microsoft.intune.mam.client.MAMIdentitySwitchResult |
The result of an identity switch.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MAMIdentitySwitchResult | CANCELLED | The identity change was cancelled by the user. | |||||||||
MAMIdentitySwitchResult | FAILED | The identity change was not successful for a reason not covered by any other enum variant. | |||||||||
MAMIdentitySwitchResult | NOT_ALLOWED | Switching identity is not currently allowed by the SDK. | |||||||||
MAMIdentitySwitchResult | SUCCEEDED | The identity change was successful. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static MAMIdentitySwitchResult |
fromCode(int code)
Get the value that corresponds to the integral code, or null.
| ||||||||||
int |
getCode()
Get the encoded version of the enum.
| ||||||||||
static MAMIdentitySwitchResult | valueOf(String name) | ||||||||||
final static MAMIdentitySwitchResult[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
The identity change was cancelled by the user.
The identity change was not successful for a reason not covered by any other enum variant.
Switching identity is not currently allowed by the SDK. This will be returned if a thread identity is set on the main thread that does not match the identity passed into this method. If the thread identity on the main thread is different, it should be cleared before calling this method.
Get the value that corresponds to the integral code, or null.
code | Encoded value. |
---|
Get the encoded version of the enum.