public final enum

AppIdentitySwitchResult

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

Class Overview

Values which the application can use when reporting to MAM whether or not an identity switch was successful.

Summary

Enum Values
AppIdentitySwitchResult  FAILURE  The switch was not successful. 
AppIdentitySwitchResult  SUCCESS  The switch was successful. 
Public Methods
static AppIdentitySwitchResult fromCode(int code)
Get the value that corresponds to the integral code, or null.
int getCode()
Get the encoded version of the enum.
static AppIdentitySwitchResult valueOf(String name)
final static AppIdentitySwitchResult[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final AppIdentitySwitchResult FAILURE

The switch was not successful.

public static final AppIdentitySwitchResult SUCCESS

The switch was successful.

Public Methods

public static AppIdentitySwitchResult fromCode (int code)

Get the value that corresponds to the integral code, or null.

Parameters
code Encoded value.
Returns
  • Appropriate value or null.

public int getCode ()

Get the encoded version of the enum.

Returns
  • Integral form of the enum.

public static AppIdentitySwitchResult valueOf (String name)

public static final AppIdentitySwitchResult[] values ()