Enum MAMNotificationType
-
- All Implemented Interfaces:
public enum MAMNotificationTypeTypes of notifications that can be delivered to receivers registered with com.microsoft.intune.mam.client.notification.MAMNotificationReceiverRegistry.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REFRESH_POLICYApp policy has been updated.
WIPE_USER_DATARequest to wipe user data.
MAM_ENROLLMENT_RESULTNotify the app of the MAM Service enrollment result.
WIPE_USER_AUXILIARY_DATANotify the app that it should wipe auxiliary (non-file) data. We will wipe all of the app's files after it returns from this notification.
REFRESH_APP_CONFIGNotify that the app has new App Config data.
MANAGEMENT_REMOVEDNotify that the app is about to become unmanaged. Once unmanaged, it will no longer be able to read encrypted files, read data encrypted with MAMDataProtectionManager, interact with the encrypted clipboard, or otherwise participate in the managed-app ecosystem.
COMPLIANCE_STATUSNotify the app of the compliance status after an attempt to remediate compliance for App Protection CA.
CLOCK_STATUS_CHANGEDThe user clocked in or out. The notification will be an instance of MAMUserNotification. Use MAMUserStatusManager.getUserStatus to obtain the new status for the provided user.
WIPE_COMPLETEDIntune has fully finished processing a wipe, at least as far as the current app process is concerned.. Will be delivered after WIPE_USER_DATA or WIPE_USER_AUXILIARY DATA. If the app reports a failure from its handler for those notifications, this notification will NOT be sent. Listening for this notification is optional.
COLLECT_APP_DIAGNOSTIC_LOGNotify the app that it needs to upload its own diagnostic logs to the log service of their choice (e.g. PowerLift). The notification will be an instance of MAMLogCollectionNotification. Use MAMLogCollectionNotification.getSessionId() to obtain the MAM session ID that uniquely identifies a log collection request.
-
Method Summary
Modifier and Type Method Description intgetCode()Get the encoded version of the enum. static MAMNotificationTypefromCode(int code)Get the app that corresponds to the integral code, or null. static Array<MAMNotificationType>values()Returns an array containing the constants of this enum type, in the order they're declared. static MAMNotificationTypevalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getCode
int getCode()
Get the encoded version of the enum.
- Returns:
Integral form of the enum.
-
fromCode
static MAMNotificationType fromCode(int code)
Get the app that corresponds to the integral code, or null.
- Parameters:
code- Encoded value.- Returns:
Appropriate SaveTo or null.
-
values
static Array<MAMNotificationType> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static MAMNotificationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-