Enum MAMNotificationType

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      REFRESH_POLICY

      App policy has been updated.

      WIPE_USER_DATA

      Request to wipe user data.

      MAM_ENROLLMENT_RESULT

      Notify the app of the MAM Service enrollment result.

      WIPE_USER_AUXILIARY_DATA

      Notify 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_CONFIG

      Notify that the app has new App Config data.

      MANAGEMENT_REMOVED

      Notify 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_STATUS

      Notify the app of the compliance status after an attempt to remediate compliance for App Protection CA.

      CLOCK_STATUS_CHANGED

      The 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_COMPLETED

      Intune 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_LOG

      Notify 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
      int getCode() Get the encoded version of the enum.
      static MAMNotificationType fromCode(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 MAMNotificationType valueOf(String name) Returns the enum constant of this type with the specified name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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