public final enum

IdentitySwitchOption

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.microsoft.intune.mam.client.app.IdentitySwitchOption

Class Overview

Options that may be specified when an app requests a UI identity switch. To handle special cases when invoking setUIPolicyIdentity or switchMAMIdentity, both methods can be passed a set of these options.

Summary

Enum Values
IdentitySwitchOption  DATA_FROM_INTENT  The complete opposite of IGNORE_INTENT. 
IdentitySwitchOption  IGNORE_INTENT  The identity switch should ignore the intent that started the current activity or was passed to the activity by onNewIntent
Public Methods
static IdentitySwitchOption valueOf(String name)
final static IdentitySwitchOption[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final IdentitySwitchOption DATA_FROM_INTENT

The complete opposite of IGNORE_INTENT. Specifies that after the identity switch completes, data from the intent will be displayed or othwerwise used.

public static final IdentitySwitchOption IGNORE_INTENT

The identity switch should ignore the intent that started the current activity or was passed to the activity by onNewIntent. If this option is not set, the MAM SDK will assume that the most recent intent is still being used in the app. This will cause receive policy for the new identity to treat the intent as incoming data and use its identity.

Public Methods

public static IdentitySwitchOption valueOf (String name)

public static final IdentitySwitchOption[] values ()