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 showInstallCompanyPortalUIForOIDIfNeeded(Context context, String oid)
Show a non-blocking install dialog for Company Portal, if needed.
static boolean showInstallCompanyPortalUIIfNeeded(Context context, String upn)
[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 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.

public static boolean showInstallCompanyPortalUIIfNeeded (Context context, String upn)

This method is deprecated.
Use showInstallCompanyPortalUIForOIDIfNeeded(Context, String).

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.