Android.App Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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 |
The AppTask allows you to manage your own application's tasks. |
ActivityManager.MemoryInfo |
Information you can retrieve about the available memory through
|
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 |
Information you can set and retrieve about the current activity within the recent task list. |
ActivityManager.TaskDescription.Builder | |
ActivityManager.TaskDescription.InterfaceConsts | |
ActivityOptions |
Helper class for building an options Bundle that can be used with
|
AlarmManager |
This class provides access to the system alarm services. |
AlarmManager.AlarmClockInfo |
An immutable description of a scheduled "alarm clock" event. |
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 |
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 |
Callback an app can |
AppOpsManager.OpActiveChangedEventArgs | |
AppOpsManager.OpChangedEventArgs | |
AsyncNotedAppOp |
When an |
AsyncNotedAppOp.InterfaceConsts | |
AuthenticationRequiredException |
Specialization of |
AuthenticationRequiredException.InterfaceConsts | |
AutomaticZenRule |
Rule instance information for zen mode. |
AutomaticZenRule.InterfaceConsts | |
BackgroundServiceStartNotAllowedException |
Exception thrown when an app tries to start a background |
BackgroundServiceStartNotAllowedException.InterfaceConsts | |
BroadcastOptions |
Helper class for building an options Bundle that can be used with
|
DatePickerDialog |
A simple dialog containing an |
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 an abstract action that can be perform on this app. |
DirectAction.Builder |
Builder for construction of DirectAction. |
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 |
ForegroundServiceStartNotAllowedException.InterfaceConsts | |
ForegroundServiceTypeException |
Base exception thrown when an app tries to start a foreground |
Fragment |
A Fragment is a piece of an application's user interface or behavior
that can be placed in an |
Fragment.InstantiationException |
Thrown by |
Fragment.InterfaceConsts | |
Fragment.SavedState |
State information that has been retrieved from a fragment instance
through |
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 |
FragmentController |
Provides integration points with a |
FragmentHostCallback |
Integration points with the Fragment host. |
FragmentManager |
Interface for interacting with |
FragmentManager.FragmentLifecycleCallbacks |
Callback interface for listening to fragment state changes that happen within a given FragmentManager. |
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. |
GameState |
State of the game passed to the GameManager. |
GameState.InterfaceConsts | |
GrammaticalInflectionManager |
This class allow applications to control granular grammatical inflection settings (such as per-app grammatical gender). |
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 |
IntentService | |
InvalidForegroundServiceTypeException |
Exception thrown when an app tries to start a foreground |
InvalidForegroundServiceTypeException.InterfaceConsts | |
KeyguardManager |
Class that can be used to lock and unlock the keyguard. |
KeyguardManager.KeyguardDismissCallback |
Callback passed to
|
KeyguardManager.KeyguardLock |
Handle returned by |
KeyguardManager.KeyguardLockedStateEventArgs | |
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 |
LocalActivityManager |
Helper class for managing multiple running embedded activities in the same process. |
LocaleConfig |
The LocaleConfig of an application. |
LocaleConfig.InterfaceConsts | |
LocaleManager |
This class gives access to system locale services. |
MediaRouteActionProvider |
The media route action provider displays a |
MediaRouteButton | |
MetaDataAttribute |
Generates the |
MissingForegroundServiceTypeException |
Exception thrown when an app tries to start a foreground |
MissingForegroundServiceTypeException.InterfaceConsts | |
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 |
Notification.Action |
Structure to encapsulate a named action that can be shown as part of this notification. |
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 |
Encapsulates the information needed to display a notification as a bubble. |
Notification.BubbleMetadata.Builder | |
Notification.BubbleMetadata.InterfaceConsts | |
Notification.Builder |
Builder class for |
Notification.CallStyle |
Helper class for generating large-format notifications that include a large image attachment. |
Notification.CarExtender |
Helper class to add Android Auto extensions to notifications. |
Notification.CarExtender.Builder | |
Notification.CarExtender.UnreadConversation | |
Notification.DecoratedCustomViewStyle |
Notification style for custom views that are decorated by the system |
Notification.DecoratedMediaCustomViewStyle |
Notification style for media custom views that are decorated by the system |
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 |
Helper class for generating large-format notifications that include multiple back-and-forth messages of varying types between any number of people. |
Notification.MessagingStyle.Message | |
Notification.Style |
An object that can apply a rich notification style to a |
Notification.WearableExtender |
Helper class to add wearable extensions to notifications. |
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 |
Notification policy configuration. |
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 |
Builder for the immutable |
Person.InterfaceConsts | |
PictureInPictureParams |
Represents a set of parameters used to initialize and update an Activity in picture-in-picture mode. |
PictureInPictureParams.Builder |
Builder class for |
PictureInPictureParams.InterfaceConsts | |
PictureInPictureUiState |
Used by |
PictureInPictureUiState.InterfaceConsts | |
Presentation |
Base class for presentations. |
ProgressDialog |
A dialog showing a progress indicator and an optional text message or view. |
RecoverableSecurityException |
Specialization of |
RecoverableSecurityException.InterfaceConsts | |
RemoteAction |
Represents a remote action that can be called from another process. |
RemoteAction.InterfaceConsts | |
RemoteInput |
A |
RemoteInput.Builder |
Builder class for |
RemoteInput.InterfaceConsts | |
SearchableInfo |
Searchability meta-data for an activity. |
SearchableInfo.InterfaceConsts | |
SearchManager |
This class provides access to the system search services. |
Service |
A Service is an application component representing either an application's desire to perform a longer-running operation while not interacting with the user or to supply functionality for other applications to use. |
Service.InterfaceConsts | |
ServiceAttribute |
Generates a |
ServiceStartNotAllowedException |
Exception thrown when an app tries to start a |
SharedElementCallback |
Listener provided in
|
StartForegroundCalledOnStoppedServiceException |
Exception thrown when |
StartForegroundCalledOnStoppedServiceException.InterfaceConsts | |
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 |
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
|
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. |
UiModeManager.ContrastChangeEventArgs | |
UsesFeatureAttribute | |
UsesLibraryAttribute | |
UsesPermissionAttribute | |
VoiceInteractor |
Interface for an |
VoiceInteractor.AbortVoiceRequest |
Reports that the current interaction can not be complete with voice, so the application will need to switch to a traditional input UI. |
VoiceInteractor.CommandRequest |
Execute a vendor-specific command using the trusted system VoiceInteractionService. |
VoiceInteractor.CompleteVoiceRequest |
Reports that the current interaction was successfully completed with voice, so the application can report the final status to the user. |
VoiceInteractor.ConfirmationRequest |
Confirms an operation with the user via the trusted system VoiceInteractionService. |
VoiceInteractor.PickOptionRequest |
Select a single option from multiple potential options with the user via the trusted system VoiceInteractionService. |
VoiceInteractor.PickOptionRequest.Option | |
VoiceInteractor.PickOptionRequest.Option.InterfaceConsts | |
VoiceInteractor.Prompt |
A set of voice prompts to use with the voice interaction system to confirm an action, select an option, or do similar operations. |
VoiceInteractor.Prompt.InterfaceConsts | |
VoiceInteractor.Request |
Base class for voice interaction requests that can be submitted to the interactor. |
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. |
Activity.IScreenCaptureCallback |
Interface for observing screen captures of an |
AlarmManager.IOnAlarmListener |
Direct-notification alarms: the requester must be running continuously from the time the alarm is set to the time it is delivered, or delivery will fail. |
Application.IActivityLifecycleCallbacks | |
Application.IOnProvideAssistDataListener |
Callback interface for use with |
AppOpsManager.IOnOpActiveChangedListener |
Callback for notification of changes to operation active state. |
AppOpsManager.IOnOpChangedListener |
Callback for notification of changes to operation state. |
DatePickerDialog.IOnDateSetListener |
The listener used to indicate the user has finished selecting a 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 |
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
|
KeyguardManager.IKeyguardLockedStateListener |
Listener for keyguard locked state changes. |
KeyguardManager.IOnKeyguardExitResult |
Callback passed to |
LoaderManager.ILoaderCallbacks |
Callback interface for a client to interact with the manager. |
Notification.Action.IExtender | |
Notification.IExtender |
Extender interface for use with |
PendingIntent.IOnFinished |
Callback interface for discovering when a send operation has completed. |
SearchManager.IOnCancelListener |
See |
SearchManager.IOnDismissListener |
See |
SharedElementCallback.IOnSharedElementsReadyListener |
Listener to be called after |
TimePickerDialog.IOnTimeSetListener |
The callback interface used to indicate the user is done filling in the time (e. |
UiAutomation.IAccessibilityEventFilter |
Listener for filtering accessibility events. |
UiAutomation.IOnAccessibilityEventListener |
Listener for observing the |
UiModeManager.IContrastChangeListener |
Listener for the UI contrast. |
WallpaperManager.IOnColorsChangedListener |
Interface definition for a callback to be invoked when colors change on a wallpaper. |
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 | |
BackgroundActivityStartMode | |
BreadCrumbClickFlags | |
BroadcastDeferralPolicy | |
BroadcastDeliveryGroupPolicy | |
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. |
FullscreenModeRequest | |
GameMode | |
GameStateMode | |
Importance |
Enumerates values returned by several types. |
ImportanceReason |
Enumerates values returned by several types. |
InterruptionFilter | |
LocaleConfigStatus | |
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 | |
NotificationCallType | |
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. |
OverrideTransition | |
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 | |
TileAddRequestError | |
TileAddRequestResult | |
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. |