com.microsoft.intune.mam.client.app.MAMActivityBlockingListener |
Known Indirect Subclasses |
Allows an app to respond to blocking actions.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onMAMCompanyPortalRequired(String upn, String oid)
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.
| ||||||||||
abstract void |
onMAMCompanyPortalRequired(String identity)
This method is deprecated.
Use
onMAMCompanyPortalRequired(String, String) .
|
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).
upn | UPN of the identity being blocked. This is the same as the activity's current identity. |
---|---|
oid | AAD OID of the identity being blocked. This is the same as the activity's current identity. |
This method is deprecated.
Use onMAMCompanyPortalRequired(String, String)
.
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).
identity | UPN being blocked. This is the same as the activity's current identity. |
---|