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

Class Overview

Allow access to an Activity's super class implementation.

Summary

Public Methods
abstract void onMAMActivityResult(int requestCode, int resultCode, Intent data)
MAM version of onActivityResult.
abstract void onMAMCreate(Bundle savedInstanceState)
MAM version of onCreate.
abstract View onMAMCreateView(View parent, String name, Context context, AttributeSet attrs)
MAM version of onCreateView.
abstract void onMAMDestroy()
MAM version of onDestroy.
abstract void onMAMNewIntent(Intent intent)
MAM version of onNewIntent.
abstract void onMAMPause()
MAM version of onPause.
abstract boolean onMAMPictureInPictureRequested()
MAM version of onPictureInPictureRequested.
abstract void onMAMPostCreate(Bundle savedInstanceState)
MAM version of onPostCreate.
abstract void onMAMPostResume()
MAM version of onPostResume.
abstract boolean onMAMPrepareOptionsMenu(Menu menu)
MAM version of onPrepareOptionsMenu.
abstract Uri onMAMProvideReferrer()
MAM version on onProviderReferrer.
abstract void onMAMRawProvideAssistContent(Object content)
MAM version of onProvideAssistContent.
abstract boolean onMAMRawSearchRequested(Object event)
MAM version of onSearchRequested.
abstract void onMAMResume()
MAM version of onResume.
abstract void onMAMSaveInstanceState(Bundle outState)
MAM version of onSaveInstanceState.
abstract void onMAMStateNotSaved()
MAM Version of onStateNotSaved.
abstract void onMAMUserLeaveHint()
MAM version of onUserLeaveHint.
abstract void switchMAMIdentity(String newIdentity, EnumSet<IdentitySwitchOption> options)
Set new identity.
abstract void switchMAMIdentity(String newIdentity)
Set new identity.
[Expand]
Inherited Methods
From interface com.microsoft.intune.mam.client.app.MAMActivityBlockingListener
From interface com.microsoft.intune.mam.client.app.MAMActivityIdentityRequirementListener
From interface com.microsoft.intune.mam.client.app.MAMActivityIdentitySwitchListener

Public Methods

public abstract void onMAMActivityResult (int requestCode, int resultCode, Intent data)

MAM version of onActivityResult.

Parameters
requestCode Request code.
resultCode Result code.
data Intent data.

public abstract void onMAMCreate (Bundle savedInstanceState)

MAM version of onCreate.

Parameters
savedInstanceState Saved instance state.

public abstract View onMAMCreateView (View parent, String name, Context context, AttributeSet attrs)

MAM version of onCreateView. See Android documentation for more info.

Parameters
parent parent
name name
context context
attrs attrs
Returns
  • view

public abstract void onMAMDestroy ()

MAM version of onDestroy.

public abstract void onMAMNewIntent (Intent intent)

MAM version of onNewIntent.

Parameters
intent intent to process

public abstract void onMAMPause ()

MAM version of onPause.

public abstract boolean onMAMPictureInPictureRequested ()

MAM version of onPictureInPictureRequested.

Returns
  • true if the activity received this callback regardless of if it acts on it or not. If false, the framework will assume the app hasn't been updated to leverage this callback and will in turn send a legacy callback of onUserLeaveHint() for the app to enter picture-in-picture mode.

public abstract void onMAMPostCreate (Bundle savedInstanceState)

MAM version of onPostCreate.

Parameters
savedInstanceState Saved instance state.

public abstract void onMAMPostResume ()

MAM version of onPostResume.

public abstract boolean onMAMPrepareOptionsMenu (Menu menu)

MAM version of onPrepareOptionsMenu.

Parameters
menu menu
Returns
  • true to display the menu

public abstract Uri onMAMProvideReferrer ()

MAM version on onProviderReferrer.

Returns
  • URI representing referrer.

public abstract void onMAMRawProvideAssistContent (Object content)

MAM version of onProvideAssistContent.

Parameters
content AssistContent. We use raw object type, otherwise InterProxy will throw class not found errors on downlevel devices.

public abstract boolean onMAMRawSearchRequested (Object event)

MAM version of onSearchRequested.

Parameters
event SearchEvent. We use raw object type, otherwise InterProxy will throw class not found errors on downlevel devices.
Returns
  • false if activity blocks the search.

public abstract void onMAMResume ()

MAM version of onResume.

public abstract void onMAMSaveInstanceState (Bundle outState)

MAM version of onSaveInstanceState.

Parameters
outState Out state.

public abstract void onMAMStateNotSaved ()

MAM Version of onStateNotSaved.

public abstract void onMAMUserLeaveHint ()

MAM version of onUserLeaveHint.

public abstract void switchMAMIdentity (String newIdentity, EnumSet<IdentitySwitchOption> options)

Set new identity.

Parameters
newIdentity New identity
options Identity switch options.

public abstract void switchMAMIdentity (String newIdentity)

Set new identity.

Parameters
newIdentity New identity