Methods
| Method |
Description |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.defaultOnMAMIdentitySwitchRequired(android.app.Activity,java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Expose default behavior for notifying the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.switchMAMIdentity(java.lang.String,java.util.EnumSet)
|
Set new identity. |
|
com.microsoft.intune.mam.client.app.switchMAMIdentity(java.lang.String)
|
Set new identity. |
|
com.microsoft.intune.mam.client.app.onMAMCompanyPortalRequired(java.lang.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. |
|
com.microsoft.intune.mam.client.app.getPinningSocketFactory(java.lang.String,java.net.URL)
|
Get a SSLSocketFactory used to configure HTTPS connection objects. |
|
com.microsoft.intune.mam.client.app.getPinningSSLContext(java.lang.String,java.net.URL)
|
Get a SSLContext that can be used with a custom SSLSocketFactory implementation. |
|
com.microsoft.intune.mam.client.app.validatePins(kotlin.Array,java.lang.String,java.net.URL)
|
Validate the given chain using the pinning configuration for the given identity and URL. |
|
com.microsoft.intune.mam.client.app.showInstallCompanyPortalUIIfNeeded(android.content.Context,java.lang.String)
|
Show a non-blocking install dialog for Company Portal, if needed. |
|
com.microsoft.intune.mam.client.app.onStart(android.content.Intent,int)
|
|
|
com.microsoft.intune.mam.client.app.onMAMStart(android.content.Intent,int)
|
MAM version of onStart. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires a temporary identity switch on this thread. |
|
com.microsoft.intune.mam.client.app.onStart(android.content.Intent,int)
|
|
|
com.microsoft.intune.mam.client.app.onMAMStart(android.content.Intent,int)
|
MAM version of onStart. |
|
com.microsoft.intune.mam.client.app.createSSLContext(java.lang.String,java.lang.String)
|
Creates an SSL context that uses the specified protocol and trusted root certificates for the specified identity. |
|
com.microsoft.intune.mam.client.app.createSSLSocketFactory(java.lang.String,java.lang.String)
|
Creates an SSL socket factory that uses the specified protocol and trusted root certificates for the specified identity. |
|
com.microsoft.intune.mam.client.app.createX509TrustManagers(java.lang.String)
|
Creates an array of X509TrustManager that uses the trusted root certificates from the MAM service for the specified identity. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.defaultOnMAMIdentitySwitchRequired(android.app.Activity,java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Expose default behavior for notifying the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.switchMAMIdentity(java.lang.String,java.util.EnumSet)
|
Set new identity. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.defaultOnMAMIdentitySwitchRequired(android.app.Activity,java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Expose default behavior for notifying the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.switchMAMIdentity(java.lang.String,java.util.EnumSet)
|
Set new identity. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.defaultOnMAMIdentitySwitchRequired(android.app.Activity,java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Expose default behavior for notifying the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.switchMAMIdentity(java.lang.String,java.util.EnumSet)
|
Set new identity. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.defaultOnMAMIdentitySwitchRequired(android.app.Activity,java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Expose default behavior for notifying the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.switchMAMIdentity(java.lang.String,java.util.EnumSet)
|
Set new identity. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.defaultOnMAMIdentitySwitchRequired(android.app.Activity,java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Expose default behavior for notifying the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.switchMAMIdentity(java.lang.String,java.util.EnumSet)
|
Set new identity. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.defaultOnMAMIdentitySwitchRequired(android.app.Activity,java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Expose default behavior for notifying the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.switchMAMIdentity(java.lang.String,java.util.EnumSet)
|
Set new identity. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.defaultOnMAMIdentitySwitchRequired(android.app.Activity,java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Expose default behavior for notifying the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.switchMAMIdentity(java.lang.String,java.util.EnumSet)
|
Set new identity. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.defaultOnMAMIdentitySwitchRequired(android.app.Activity,java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Expose default behavior for notifying the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.switchMAMIdentity(java.lang.String,java.util.EnumSet)
|
Set new identity. |
|
com.microsoft.intune.mam.client.app.switchMAMIdentity(java.lang.String,java.util.EnumSet)
|
Set new identity. |
|
com.microsoft.intune.mam.client.app.onMAMCompanyPortalRequired(java.lang.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. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.app.onMAMStart(android.content.Intent,int)
|
MAM version of onStart. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires a temporary identity switch on this thread. |
|
com.microsoft.intune.mam.client.app.onMAMStart(android.content.Intent,int)
|
MAM version of onStart. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires a temporary identity switch on this thread. |
|
com.microsoft.intune.mam.client.app.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.content.getText(android.content.ClipboardManager)
|
See getText. |
|
com.microsoft.intune.mam.client.content.hasText(android.content.ClipboardManager)
|
See hasText. |
|
com.microsoft.intune.mam.client.content.setText(android.content.ClipboardManager,java.lang.CharSequence)
|
See setText. |
|
com.microsoft.intune.mam.client.content.isProvideContentAllowed(java.lang.String)
|
A multi-identity aware app MUST use this method to determine whether policy allows sharing of content to another app. |
|
com.microsoft.intune.mam.client.content.isProvideContentAllowed(android.content.ContentProvider,java.lang.String)
|
Like the instance-method isProvideContentAllowed above, but static. |
|
com.microsoft.intune.mam.client.identity.protect(java.io.InputStream,java.lang.String)
|
Protect a stream. |
|
com.microsoft.intune.mam.client.identity.protect(kotlin.Array,java.lang.String)
|
Protect a byte array. |
|
com.microsoft.intune.mam.client.identity.protect(java.io.File,java.lang.String)
|
Protect a file or directory. |
|
com.microsoft.intune.mam.client.identity.protect(android.os.ParcelFileDescriptor,java.lang.String)
|
Protect a file, generally one obtained from a content provider. |
|
com.microsoft.intune.mam.client.identity.setUIPolicyIdentity(android.content.Context,java.lang.String,com.microsoft.intune.mam.client.identity.MAMSetUIIdentityCallback)
|
Set the associated identity with the Context. |
|
com.microsoft.intune.mam.client.identity.setUIPolicyIdentity(android.content.Context,java.lang.String,com.microsoft.intune.mam.client.identity.MAMSetUIIdentityCallback,java.util.EnumSet)
|
Set the associated identity with the Context. |
|
com.microsoft.intune.mam.client.identity.getUIPolicyIdentity(android.content.Context)
|
Get the UPN of the current UI identity. |
|
com.microsoft.intune.mam.client.identity.setProcessIdentity(java.lang.String)
|
Set the process-wide identity. |
|
com.microsoft.intune.mam.client.identity.getProcessIdentity()
|
Get the UPN of the process-wide identity. |
|
com.microsoft.intune.mam.client.identity.setCurrentThreadIdentity(java.lang.String)
|
Set the current thread identity. |
|
com.microsoft.intune.mam.client.identity.getCurrentThreadIdentity()
|
Get the UPN of the current thread identity. |
|
com.microsoft.intune.mam.client.identity.getCurrentIdentity(android.content.Context)
|
Computes the current effective identity that will be used for policy and returns its UPN. |
|
com.microsoft.intune.mam.client.identity.getPolicy()
|
Deprecated alias for getCurrentThreadPolicy. |
|
com.microsoft.intune.mam.client.identity.getPolicyForIdentity(java.lang.String)
|
Get the applicable app policy for a given identity. |
|
com.microsoft.intune.mam.client.identity.getIsIdentityManaged(java.lang.String)
|
|
|
com.microsoft.intune.mam.client.preference.onMAMIdentitySwitchRequired(java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Called by MAM to notify the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.preference.defaultOnMAMIdentitySwitchRequired(android.app.Activity,java.lang.String,com.microsoft.intune.mam.client.app.AppIdentitySwitchReason,com.microsoft.intune.mam.client.app.AppIdentitySwitchResultCallback)
|
Expose default behavior for notifying the app that an incoming intent requires an identity switch for this Activity. |
|
com.microsoft.intune.mam.client.preference.switchMAMIdentity(java.lang.String,java.util.EnumSet)
|
Set new identity. |
|
com.microsoft.intune.mam.policy.appconfig.getAppConfig(java.lang.String)
|
returns custom app configuration data for the given user. |
|
com.microsoft.intune.mam.policy.getIsSaveToPersonalAllowed()
|
Restrict where an app can save personal data. |
|
com.microsoft.intune.mam.policy.getIsSaveToLocationAllowed(com.microsoft.intune.mam.policy.SaveLocation,java.lang.String)
|
Determines if the SaveLocation passed in can be saved to by the username associated with the cloud service. |
|
com.microsoft.intune.mam.policy.getIsOpenFromLocationAllowed(com.microsoft.intune.mam.policy.OpenLocation,java.lang.String)
|
Determines if data from the OpenLocation can be opened for the username associated with the data. |
|
com.microsoft.intune.mam.policy.registerADALConnectionDetails(java.lang.String,com.microsoft.intune.mam.client.app.startup.ADALConnectionDetails)
|
Register ADAL connection details for the given UPN. |
|
com.microsoft.intune.mam.policy.unregisterAccountForMAM(java.lang.String)
|
Remove the registration for the given account. |
|
com.microsoft.intune.mam.policy.getRegisteredAccountStatus(java.lang.String)
|
Returns the status of the given account if it is registered for MAM. |