Class MAMConfigOnly

  • All Implemented Interfaces:

    
    public final class MAMConfigOnly
    
                        

    Android MAM config-only client. This is not supported for general usage.

    • 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
    • Method Summary

      Modifier and Type Method Description
      static void initialize(Application app) Initialize MAM components with the given config-only Application.
      static boolean showInstallCompanyPortalUIIfNeeded(Context context, String upn) Show a non-blocking install dialog for Company Portal, if needed.
      static boolean showInstallCompanyPortalUIForOIDIfNeeded(Context context, String oid) Show a non-blocking install dialog for Company Portal, if needed.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • initialize

         static void initialize(Application app)

        Initialize MAM components with the given config-only Application. This should only be called manually by config-only apps.

        Parameters:
        app - The application.
      • showInstallCompanyPortalUIIfNeeded

        @Deprecated() static boolean showInstallCompanyPortalUIIfNeeded(Context context, String upn)

        Show a non-blocking install dialog for Company Portal, if needed. Note: this should only be called by config-only apps. Fully integrated applications will show this dialog automatically.

        Parameters:
        context - the context to use for showing the dialog.
        upn - the UPN of the account to show the dialog for.
        Returns:

        true if the dialog was shown; otherwise, false.

      • showInstallCompanyPortalUIForOIDIfNeeded

         static boolean showInstallCompanyPortalUIForOIDIfNeeded(Context context, String oid)

        Show a non-blocking install dialog for Company Portal, if needed. Note: this should only be called by config-only apps. Fully integrated applications will show this dialog automatically.

        Parameters:
        context - the context to use for showing the dialog.
        oid - the AAD OID of the account to show the dialog for.
        Returns:

        true if the dialog was shown; otherwise, false.