public final class

MAMComponents

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

Class Overview

Android MAM client core components.

Summary

Public Methods
static <T> T get(Class<T> clazz)
Get an implementation of a class.
static void initialize(Context context)
Initialize the object with a given context.
static boolean isManagedApp(Context context)
Determine if the app is managed (has MAM policy deployed).
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static T get (Class<T> clazz)

Get an implementation of a class.

Parameters
clazz Class to get an instance of.
Returns
  • The object or null if clazz is unknown.

public static void initialize (Context context)

Initialize the object with a given context.

Parameters
context Context to use to initialize.

public static boolean isManagedApp (Context context)

Determine if the app is managed (has MAM policy deployed).

Parameters
context Context of the app.
Returns
  • True if app is managed, false otherwise.