| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.microsoft.intune.mam.client.app.AppIdentitySwitchReason | |
Value passed to an activity's onMAMIdentitySwitchRequired callback to provide information on why the identity switch is occurring.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AppIdentitySwitchReason | CREATE | The switch is occurring because of an activity creation. | |||||||||
| AppIdentitySwitchReason | NEW_INTENT | The switch is occurring because a new intent is being assigned to an activity. | |||||||||
| AppIdentitySwitchReason | RESUME_CANCELLED | The switch is occurring because a resume was cancelled. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static AppIdentitySwitchReason |
fromCode(int code)
Get the value that corresponds to the integral code, or null.
| ||||||||||
| int |
getCode()
Get the encoded version of the enum.
| ||||||||||
| static AppIdentitySwitchReason | valueOf(String name) | ||||||||||
| final static AppIdentitySwitchReason[] | values() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
The switch is occurring because of an activity creation.
The switch is occurring because a new intent is being assigned to an activity.
The switch is occurring because a resume was cancelled.
Get the value that corresponds to the integral code, or null.
| code | Encoded value. |
|---|
Get the encoded version of the enum.