public interface

MAMActivityBlockingListener

com.microsoft.intune.mam.client.app.MAMActivityBlockingListener
Known Indirect Subclasses

Class Overview

Allows an app to respond to blocking actions.

Summary

Public Methods
abstract void onMAMCompanyPortalRequired(String identity)
Called by MAM to notify the app that this activity is being blocked from displaying data because the Company Portal is required for the identity currently in use.

Public Methods

public abstract void onMAMCompanyPortalRequired (String identity)

Called by MAM to notify the app that this activity is being blocked from displaying data because the Company Portal is required for the identity currently in use. The app may wish to use this notification to prompt the user to remove the account if the user doesn't want to install the Company Portal. This may be called before onMAMCreate. If the app changes the activity identity or finishes the activity, the blocking UI will not be displayed. If the app wishes to display UI to the user in response to this event, it must either use a different activity or change the identity of this one (and avoid displaying information from the potentially corporate identity).

Parameters
identity UPN being blocked. This is the same as the activity's current identity.