public final class

MAMConfigOnly

extends Object
java.lang.Object
   ↳ com.microsoft.intune.mam.client.app.MAMConfigOnly

Class Overview

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

Summary

Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public 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.

public 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.