Class MAMConfigOnly
-
- All Implemented Interfaces:
public final class MAMConfigOnlyAndroid MAM config-only client. This is not supported for general usage.
-
-
Method Summary
Modifier and Type Method Description static voidinitialize(Application app)Initialize MAM components with the given config-only Application. static booleanshowInstallCompanyPortalUIIfNeeded(Context context, String upn)Show a non-blocking install dialog for Company Portal, if needed. static booleanshowInstallCompanyPortalUIForOIDIfNeeded(Context context, String oid)Show a non-blocking install dialog for Company Portal, if needed. -
-
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.
-
-
-
-