Android.App Namespace

Contains high-level classes encapsulating the overall Android application model.

Classes

ActionBar

A primary toolbar within the activity that may display the activity title, application-level navigation affordances, and other interactive items.

ActionBar.LayoutParams

Per-child layout information associated with action bar custom views.

ActionBar.MenuVisibilityEventArgs

Provides data for the MenuVisibility event.

ActionBar.NavigationEventArgs
ActionBar.Tab

A tab in the action bar.

ActionBar.TabEventArgs

Provides data for the E:Android.App.ActionBar+Tab.TabReselected, E:Android.App.ActionBar+Tab.TabSelected, and E:Android.App.ActionBar+Tab.TabUnselected events.

ActionBar.TabReselectedEventArgs
ActionBar.TabSelectedEventArgs
ActionBar.TabUnselectedEventArgs
Activity

An activity is a single, focused thing that the user can do.

Activity.InterfaceConsts
ActivityAttribute

Generates a /manifest/application/activity element within AndroidManifest.xml.

ActivityGroup

A screen that contains and runs multiple embedded activities.

ActivityManager

This class gives information about, and interacts with, activities, services, and the containing process.

ActivityManager.AppTask
ActivityManager.MemoryInfo

Information you can retrieve about the available memory through GetMemoryInfo(ActivityManager+MemoryInfo).

ActivityManager.MemoryInfo.InterfaceConsts
ActivityManager.ProcessErrorStateInfo

Information you can retrieve about any processes that are in an error condition.

ActivityManager.ProcessErrorStateInfo.InterfaceConsts
ActivityManager.RecentTaskInfo

Information you can retrieve about tasks that the user has most recently started or visited.

ActivityManager.RecentTaskInfo.InterfaceConsts
ActivityManager.RunningAppProcessInfo

Information you can retrieve about a running process.

ActivityManager.RunningAppProcessInfo.InterfaceConsts
ActivityManager.RunningServiceInfo

Information you can retrieve about a particular Service that is currently running in the system.

ActivityManager.RunningServiceInfo.InterfaceConsts
ActivityManager.RunningTaskInfo

Information you can retrieve about a particular task that is currently "running" in the system.

ActivityManager.RunningTaskInfo.InterfaceConsts
ActivityManager.TaskDescription
ActivityManager.TaskDescription.InterfaceConsts
ActivityOptions

Helper class for building an options Bundle that can be used with android.content.Context#startActivity(android.content.Intent, android.os.Bundle) Context.startActivity(Intent, Bundle) and related methods.

AlarmManager

This class provides access to the system alarm services.

AlarmManager.AlarmClockInfo
AlarmManager.AlarmClockInfo.InterfaceConsts
AlertDialog

A subclass of Dialog that can display one, two or three buttons.

AlertDialog.Builder
AliasActivity

Stub activity that launches another activity (and then finishes itself) based on information in its component's manifest meta-data.

AppComponentFactory

Interface used to control the instantiation of manifest elements.

Application

Base class for maintaining global application state.

Application.InterfaceConsts
Application.ProvideAssistDataEventArgs
ApplicationAttribute

Generates a /manifest/application element within AndroidManifest.xml.

ApplicationErrorReport

Describes an application error.

ApplicationErrorReport.AnrInfo

Describes an application not responding error.

ApplicationErrorReport.BatteryInfo

Describes a battery usage report.

ApplicationErrorReport.CrashInfo

Describes an application crash.

ApplicationErrorReport.InterfaceConsts
ApplicationErrorReport.RunningServiceInfo

Describes a running service report.

ApplicationExitInfo

Describes the information of an application process's death.

ApplicationExitInfo.InterfaceConsts
AppOpsManager

App-ops are used for two purposes: Access control and tracking.

AppOpsManager.OnOpNotedCallback
AppOpsManager.OpActiveChangedEventArgs
AppOpsManager.OpChangedEventArgs
AsyncNotedAppOp

When an AppOpsManager#noteOp(String, int, String, String, String) app-op is noted and the app the app-op is noted for has a AppOpsManager.OnOpNotedCallback registered the note-event needs to be delivered to the callback.

AsyncNotedAppOp.InterfaceConsts
AuthenticationRequiredException

Specialization of SecurityException that is thrown when authentication is needed from the end user before viewing the content.

AuthenticationRequiredException.InterfaceConsts
AutomaticZenRule

Rule instance information for zen mode.

AutomaticZenRule.InterfaceConsts
BackgroundServiceStartNotAllowedException

Exception thrown when an app tries to start a background Service when it's not allowed to do so.

BackgroundServiceStartNotAllowedException.InterfaceConsts
DatePickerDialog

A simple dialog containing an android.widget.DatePicker.

DatePickerDialog.DateSetEventArgs
Dialog

Base class for Dialogs.

Dialog.InterfaceConsts
DialogFragment

A fragment that displays a dialog window, floating on top of its activity's window.

DirectAction

Represents a abstract action that can be perform on this app.

DirectAction.Builder
DirectAction.InterfaceConsts
DownloadManager

The download manager is a system service that handles long-running HTTP downloads.

DownloadManager.Query

This class may be used to filter download manager queries.

DownloadManager.Request

This class contains all the information necessary to request a new download.

ExpandableListActivity

An activity that displays an expandable list of items by binding to a data source implementing the ExpandableListAdapter, and exposes event handlers when the user selects an item.

ForegroundServiceStartNotAllowedException

Exception thrown when an app tries to start a foreground Service when it's not allowed to do so.

ForegroundServiceStartNotAllowedException.InterfaceConsts
Fragment

A Fragment is a piece of an application's user interface or behavior that can be placed in an Activity.

Fragment.InstantiationException

Thrown by M:Android.App.Fragment.Instantiate(Android.Content.Context,System.String,System.String) when there is an instantiation failure.

Fragment.InterfaceConsts
Fragment.SavedState

State information that has been retrieved from a fragment instance through SaveFragmentInstanceState(Fragment).

Fragment.SavedState.InterfaceConsts
FragmentBreadCrumbs

Helper class for showing "bread crumbs" representing the fragment stack in an activity.

FragmentBreadCrumbs.BreadCrumbClickEventArgs

Provides data for the BreadCrumbClick event.

FragmentContainer

Callbacks to a Fragment's container.

FragmentController

Provides integration points with a FragmentManager for a fragment host.

FragmentHostCallback

Integration points with the Fragment host.

FragmentManager

Interface for interacting with Fragment objects inside of an Activity<div class="special reference"> <h3>Developer Guides</h3>

FragmentManager.FragmentLifecycleCallbacks
FragmentManagerNonConfig

FragmentManagerNonConfig stores the retained instance fragments across activity recreation events.

FragmentTransaction

API for performing a set of Fragment operations.

GameManager

The GameManager allows system apps to modify and query the game mode of apps.

Instrumentation

Base class for implementing application instrumentation code.

Instrumentation.ActivityMonitor

Information about a particular kind of Intent that is being monitored.

Instrumentation.ActivityResult

Description of a Activity execution result to return to the original activity.

InstrumentationAttribute
IntentFilterAttribute

Generates the //intent-filter element within AndroidManifest.xml.

IntentService
KeyguardManager

Class that can be used to lock and unlock the keyguard.

KeyguardManager.KeyguardDismissCallback
KeyguardManager.KeyguardLock
LauncherActivity

Displays a list of all activities which can be performed for a given intent.

LauncherActivity.IconResizer

Utility class to resize icons to match default icon size.

LauncherActivity.ListItem

An item in the list

LayoutAttribute
ListActivity

An activity that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item.

ListFragment

A fragment that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item.

LoaderManager

Interface associated with an Activity or Fragment for managing one or more Loader instances associated with it.

LocalActivityManager

Helper class for managing multiple running embedded activities in the same process.

MediaRouteActionProvider

The media route action provider displays a MediaRouteButton media route button in the application's ActionBar to allow the user to select routes and to control the currently selected route.

MediaRouteButton
MetaDataAttribute

Generates the //meta-data element within AndroidManifest.xml.

NativeActivity

Convenience for implementing an activity that will be implemented purely in native code.

Notification

A class that represents how a persistent notification is to be presented to the user using the android.app.NotificationManager.

Notification.Action
Notification.Action.Builder
Notification.Action.InterfaceConsts
Notification.Action.WearableExtender
Notification.BigPictureStyle

Helper class for generating large-format notifications that include a large image attachment.

Notification.BigTextStyle

Helper class for generating large-format notifications that include a lot of text.

Notification.BubbleMetadata
Notification.BubbleMetadata.Builder
Notification.BubbleMetadata.InterfaceConsts
Notification.Builder

Builder class for Notification objects.

Notification.CallStyle
Notification.CarExtender
Notification.CarExtender.Builder
Notification.CarExtender.UnreadConversation
Notification.DecoratedCustomViewStyle
Notification.DecoratedMediaCustomViewStyle
Notification.InboxStyle

Helper class for generating large-format notifications that include a list of (up to 5) strings.

Notification.InterfaceConsts
Notification.MediaStyle

Notification style for media playback notifications.

Notification.MessagingStyle
Notification.MessagingStyle.Message
Notification.Style

An object that can apply a rich notification style to a T:Android.App.Notification+Builder object.

Notification.WearableExtender
NotificationChannel

A representation of settings that apply to a collection of similarly themed notifications.

NotificationChannel.InterfaceConsts
NotificationChannelGroup

A grouping of related notification channels.

NotificationChannelGroup.InterfaceConsts
NotificationManager

Class to notify the user of events that happen.

NotificationManager.Policy
NotificationManager.Policy.InterfaceConsts
PendingIntent

A description of an Intent and target action to perform with it.

PendingIntent.CanceledException

Exception thrown when trying to send through a PendingIntent that has been canceled or is otherwise no longer able to execute the request.

PendingIntent.InterfaceConsts
PermissionAttribute
PermissionGroupAttribute
PermissionTreeAttribute
Person

Provides an immutable reference to an entity that appears repeatedly on different surfaces of the platform.

Person.Builder
Person.InterfaceConsts
PictureInPictureParams

Represents a set of parameters used to initialize and update an Activity in picture-in-picture mode.

PictureInPictureParams.Builder
PictureInPictureParams.InterfaceConsts
PictureInPictureUiState

Used by Activity#onPictureInPictureUiStateChanged(PictureInPictureUiState).

PictureInPictureUiState.InterfaceConsts
Presentation

Base class for presentations.

ProgressDialog

A dialog showing a progress indicator and an optional text message or view.

RecoverableSecurityException

Specialization of SecurityException that contains additional information about how to involve the end user to recover from the exception.

RecoverableSecurityException.InterfaceConsts
RemoteAction

Represents a remote action that can be called from another process.

RemoteAction.InterfaceConsts
RemoteInput

A RemoteInput object specifies input to be collected from a user to be passed along with an intent inside a PendingIntent that is sent.

RemoteInput.Builder
RemoteInput.InterfaceConsts
SearchableInfo

Searchability meta-data for an activity.

SearchableInfo.InterfaceConsts
SearchManager

This class provides access to the system search services.

Service
Service.InterfaceConsts
ServiceAttribute

Generates a /manifest/application/service element within AndroidManifest.xml.

ServiceStartNotAllowedException

Exception thrown when an app tries to start a Service when it's not allowed to do so.

SharedElementCallback

Listener provided in Activity#setEnterSharedElementCallback(SharedElementCallback) and Activity#setExitSharedElementCallback(SharedElementCallback) as well as Fragment#setEnterSharedElementCallback(SharedElementCallback) and Fragment#setExitSharedElementCallback(SharedElementCallback) to monitor the Shared element transitions.

StatusBarManager

Allows an app to control the status bar.

SupportsGLTextureAttribute
SyncNotedAppOp

Description of an app-op that was noted for the current process.

SyncNotedAppOp.InterfaceConsts
TabActivity

For apps developing against android.os.Build.VERSION_CODES#HONEYCOMB or later, tabs are typically presented in the UI using the new ActionBar#newTab() ActionBar.newTab() and related APIs for placing tabs within their action bar area.

TaskInfo

Stores information about a particular Task.

TaskStackBuilder

Utility class for constructing synthetic back stacks for cross-task navigation on Android 3.

TimePickerDialog

A dialog that prompts the user for the time of day using a TimePicker.

TimePickerDialog.TimeSetEventArgs
UiAutomation

Class for interacting with the device's UI by simulation user actions and introspection of the screen content.

UiAutomation.AccessibilityEventEventArgs

Provides data for the AccessibilityEvent event.

UiModeManager

This class provides access to the system uimode services.

UsesFeatureAttribute
UsesLibraryAttribute
UsesPermissionAttribute
VoiceInteractor

Interface for an Activity to interact with the user through voice.

VoiceInteractor.AbortVoiceRequest
VoiceInteractor.CommandRequest
VoiceInteractor.CompleteVoiceRequest
VoiceInteractor.ConfirmationRequest
VoiceInteractor.PickOptionRequest
VoiceInteractor.PickOptionRequest.Option
VoiceInteractor.PickOptionRequest.Option.InterfaceConsts
VoiceInteractor.Prompt
VoiceInteractor.Prompt.InterfaceConsts
VoiceInteractor.Request
WallpaperColors

Provides information about the colors of a wallpaper.

WallpaperColors.InterfaceConsts
WallpaperInfo

This class is used to specify meta information of a wallpaper service.

WallpaperInfo.InterfaceConsts
WallpaperManager

Provides access to the system wallpaper.

WallpaperManager.ColorsChangedEventArgs

Interfaces

ActionBar.IOnMenuVisibilityListener

Listener for receiving events when action bar menus are shown or hidden.

ActionBar.IOnNavigationListener

Listener interface for ActionBar navigation events.

ActionBar.ITabListener

Callback interface invoked when a tab is focused, unfocused, added, or removed.

AlarmManager.IOnAlarmListener
Application.IActivityLifecycleCallbacks
Application.IOnProvideAssistDataListener

Callback interface for use with RegisterOnProvideAssistDataListener(Application+IOnProvideAssistDataListener) and UnregisterOnProvideAssistDataListener(Application+IOnProvideAssistDataListener).

AppOpsManager.IOnOpActiveChangedListener
AppOpsManager.IOnOpChangedListener
DatePickerDialog.IOnDateSetListener

The callback used to indicate the user is done filling in the date.

FragmentBreadCrumbs.IOnBreadCrumbClickListener

Interface to intercept clicks on the bread crumbs.

FragmentManager.IBackStackEntry

Representation of an entry on the fragment back stack, as created with AddToBackStack(String).

FragmentManager.IOnBackStackChangedListener

Interface to watch for changes to the back stack.

IZygotePreload

This is the interface to be implemented for the class that is specified by the android.R.styleable#AndroidManifestApplication_zygotePreloadName android:zygotePreloadName of the &lt;application&gt; tag.

KeyguardManager.IOnKeyguardExitResult

Callback passed to ExitKeyguardSecurely(KeyguardManager+IOnKeyguardExitResult) to notify caller of result.

LoaderManager.ILoaderCallbacks

Callback interface for a client to interact with the manager.

Notification.Action.IExtender
Notification.IExtender
PendingIntent.IOnFinished

Callback interface for discovering when a send operation has completed.

SearchManager.IOnCancelListener

See SetOnCancelListener(SearchManager+IOnCancelListener) for configuring your activity to monitor search UI state.

SearchManager.IOnDismissListener

See SetOnDismissListener(SearchManager+IOnDismissListener) for configuring your activity to monitor search UI state.

SharedElementCallback.IOnSharedElementsReadyListener
TimePickerDialog.IOnTimeSetListener

The callback interface used to indicate the user is done filling in the time (they clicked on the 'Set' button).

UiAutomation.IAccessibilityEventFilter

Listener for filtering accessibility events.

UiAutomation.IOnAccessibilityEventListener

Listener for observing the AccessibilityEvent stream.

WallpaperManager.IOnColorsChangedListener

Enums

ActionBarDisplayOptions

Enumerates values returned by several types and taken as a parameter of the F:Android.App.ActionBar.SetDisplayOptions, and F:Android.App.ActionBar.SetDisplayOptions members.

ActionBarNavigationMode

Enumerates values returned by several types.

AlarmType

Enumerates values returned by several methods of AlarmType and taken as a parameter of several methods of AlarmManager.

ApplicationErrorReportType

Enumerates values returned by several types.

ApplicationExitInfoReason
AppOpsManagerMode

Enumerates values returned by several types.

AutomaticRuleStatus
BreadCrumbClickFlags
ConversationSenders
DefaultKey

Enumerates values returned by several methods of DefaultKey and taken as a parameter of the F:Android.App.Activity.SetDefaultKeyMode member.

DialogFragmentStyle

Enumerates values returned by several types and taken as a parameter of the F:Android.App.DialogFragment.SetStyle member.

DisableCarModeFlags

Enumerates values returned by the GoHome, None, and DisableCarModeGoHome members and taken as a parameter of the F:Android.App.UiModeManager.DisableCarMode member.

DownloadError

Enumerates values returned by several types.

DownloadNetwork

Enumerates values returned by several types and taken as a parameter of the F:Android.App.DownloadManager+Request.SetAllowedNetworkTypes member.

DownloadPausedReason

Enumerates values returned by several types.

DownloadStatus

Enumerates values returned by several types and taken as a parameter of the F:Android.App.DownloadManager+Query.SetFilterByStatus member.

DownloadVisibility

Enumerates values returned by several types and taken as a parameter of the F:Android.App.DownloadManager+Request.SetNotificationVisibility member.

EditChoices
EnableCarModeFlags

Enumerates values returned by several types and taken as a parameter of the F:Android.App.UiModeManager.EnableCarMode member.

FragmentTransit

Enumerates values returned by several methods of FragmentTransit and taken as a parameter of the F:Android.App.Fragment.OnCreateAnimator, and F:Android.App.FragmentTransaction.SetTransition members.

GameMode
Importance

Enumerates values returned by several types.

ImportanceReason

Enumerates values returned by several types.

InterruptionFilter
LockTaskMode
MoveTaskFlags

Enumerates values returned by the NoUserAction, and WithHome members and taken as a parameter of the F:Android.App.ActivityManager.MoveTaskToFront, and F:Android.App.ActivityManager.MoveTaskToFront members.

NotificationBadgeIconType
NotificationBubblePreference
NotificationDefaults

Enumerates values returned by several types and taken as a parameter of the F:Android.App.Notification+Builder.SetDefaults member.

NotificationFlags

Enumerates values returned by several types.

NotificationForegroundService
NotificationGroupAlertBehavior
NotificationImportance
NotificationPriority

Enumerates values returned by several types.

NotificationPriorityCategory
NotificationPrioritySenders
NotificationVisibility

Enumerates values returned by several types and taken as a parameter of the F:Android.App.Notification+Builder.SetVisibility member.

PendingIntentFlags

Enumerates values returned by several methods of PendingIntentFlags and taken as a parameter of several types.

PolicyPrioritySendersType
PopBackStackFlags

Enumerates values returned by the PopBackStackInclusive, Inclusive, and None members and taken as a parameter of several methods of FragmentManager.

ProcessError

Enumerates values returned by several types.

ProgressDialogStyle

Enumerates values returned by the Horizontal, and Spinner members and taken as a parameter of the F:Android.App.ProgressDialog.SetProgressStyle member.

RecentTaskFlags

Enumerates values returned by the IgnoreUnavailable, and WithExcluded members and taken as a parameter of the F:Android.App.ActivityManager.GetRecentTasks member.

RemoteInputSource
Result

Enumerates values returned by several types and taken as a parameter of several types.

RunningAppProcessInfoImportanceType
SemanticAction
ServiceInfoFlags

Enumerates values returned by several types.

StartCommandFlags

Enumerates values returned by the Redelivery, and Retry members and taken as a parameter of the F:Android.App.Service.OnStartCommand, and F:Android.Locations.SettingInjectorService.OnStartCommand members.

StartCommandResult

Enumerates values returned by several types.

StopForegroundFlags
SuppressedEffects
UiAutomationFlags
UiAutomationRotation

Enumerates values returned by several types and taken as a parameter of the F:Android.App.UiAutomation.SetRotation member.

UiNightMode

Enumerates values returned by several types.

WallpaperColorsHint
WallpaperManagerFlags
WatchForeground
WearableSizePreset

Enumerates values returned by several types and taken as a parameter of the F:Android.App.Notification+WearableExtender.SetCustomSizePreset member.