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.
Provides bindings for Android classes that implement the application model.
Classes
| Name | Description |
|---|---|
| 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 |
Contains the selected action-bar navigation item and the event's handled state. |
| 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 |
Contains the action-bar tab selected again and its fragment transaction. |
| ActionBar.TabSelectedEventArgs |
Contains the newly selected action-bar tab and its fragment transaction. |
| ActionBar.TabUnselectedEventArgs |
Contains the action-bar tab leaving the selected state and its fragment transaction. |
| Activity |
An activity is a single, focused thing that the user can do. |
| Activity.InterfaceConsts |
Contains the |
| 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 |
Contains parcel-content and parcel-write constants for ActivityManager.MemoryInfo. |
| ActivityManager.ProcessErrorStateInfo |
Information you can retrieve about any processes that are in an error condition. |
| ActivityManager.ProcessErrorStateInfo.InterfaceConsts |
Contains parcel-content and parcel-write constants for ActivityManager.ProcessErrorStateInfo. |
| ActivityManager.RecentTaskInfo |
Information you can retrieve about tasks that the user has most recently started or visited. |
| ActivityManager.RecentTaskInfo.InterfaceConsts |
Contains parcel-content and parcel-write constants for ActivityManager.RecentTaskInfo. |
| ActivityManager.RunningAppProcessInfo |
Information you can retrieve about a running process. |
| ActivityManager.RunningAppProcessInfo.InterfaceConsts |
Contains parcel-content and parcel-write constants for ActivityManager.RunningAppProcessInfo. |
| ActivityManager.RunningServiceInfo |
Information you can retrieve about a particular Service that is currently running in the system. |
| ActivityManager.RunningServiceInfo.InterfaceConsts |
Contains parcel-content and parcel-write constants for ActivityManager.RunningServiceInfo. |
| ActivityManager.RunningTaskInfo |
Information you can retrieve about a particular task that is currently "running" in the system. |
| ActivityManager.RunningTaskInfo.InterfaceConsts |
Contains parcel-content and parcel-write constants for ActivityManager.RunningTaskInfo. |
| ActivityManager.TaskDescription |
Information you can set and retrieve about the current activity within the recent task list. |
| ActivityManager.TaskDescription.Builder |
Provides a convenient way to set the fields of a TaskDescription when creating a new instance. |
| ActivityManager.TaskDescription.InterfaceConsts |
Contains parcel-content and parcel-write constants for ActivityManager.TaskDescription. |
| ActivityOptions |
Helper class for building an options Bundle that can be used with
|
| ActivityOptions.LaunchCookie |
An opaque token used to track and identify a specific activity launch request. |
| ActivityOptions.LaunchCookie.InterfaceConsts |
Contains parcel-content and parcel-write constants for ActivityOptions.LaunchCookie. |
| AlarmManager |
This class provides access to the system alarm services. |
| AlarmManager.AlarmClockInfo |
An immutable description of a scheduled "alarm clock" event. |
| AlarmManager.AlarmClockInfo.InterfaceConsts |
Contains parcel-content and parcel-write constants for AlarmManager.AlarmClockInfo. |
| AlertDialog |
A subclass of Dialog that can display one, two or three buttons. |
| AlertDialog.Builder |
Builds AlertDialog instances. |
| AliasActivity |
Stub activity that launches another activity (and then finishes itself) based on information in its component's manifest meta-data. |
| AnrTypes |
Defines the types of Application Not Responding (ANR) errors. |
| AnrWarningResult |
Describes the information about a potential ANR before the timeout is reached. |
| AnrWarningResult.InterfaceConsts |
Contains parcel-content and parcel-write constants for AnrWarningResult. |
| AppComponentFactory |
Interface used to control the instantiation of manifest elements. |
| AppInteractionAttribution |
Represents attribution information for an app interaction, detailing the context and nature of the interaction that triggered it. |
| AppInteractionAttribution.Builder |
Builder for |
| AppInteractionAttribution.InterfaceConsts |
Contains parcel-content and parcel-write constants for AppInteractionAttribution. |
| AppInteractionContract |
The contract between the App Interaction history provider and applications with read permission. |
| AppInteractionContract.InterfaceConsts |
Exposes the standard row-ID and row-count column names inherited by the app-interaction contract. |
| AppInteractionDeniedException |
Exception thrown when an app interaction is denied. |
| AppInteractionException |
Exception thrown when an app interaction operation fails. |
| AppInteractionManager |
Provides access to App Interaction access control APIs. |
| AppInteractionSession |
Represents an app interaction session. |
| AppInteractionSession.CreateParams |
Parameters to create an |
| AppInteractionSession.CreateParams.Builder |
Builder for CreateParams. |
| AppInteractionSession.LifecycleEventArgs |
Contains the interaction session and reason reported by a session-closure callback. |
| AppInteractionSession.UpdateParams |
Parameters to update an |
| AppInteractionSession.UpdateParams.Builder |
Builder for UpdateParams. |
| Application |
Base class for maintaining global application state. |
| Application.InterfaceConsts |
Contains the |
| Application.ProvideAssistDataEventArgs |
Contains the activity and bundle supplied for an assist-data request. |
| 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 |
Contains parcel-content and parcel-write constants for ApplicationErrorReport. |
| ApplicationErrorReport.RunningServiceInfo |
Describes a running service report. |
| ApplicationExitInfo |
Describes the information of an application process's death. |
| ApplicationExitInfo.AnrInfo |
Contains an ANR event's identifier, type, timeout, and user-perceptibility state. |
| ApplicationExitInfo.AnrInfo.InterfaceConsts |
Contains parcel-content and parcel-write constants for ApplicationExitInfo.AnrInfo. |
| ApplicationExitInfo.InterfaceConsts |
Contains parcel-content and parcel-write constants for ApplicationExitInfo. |
| ApplicationStartInfo |
Describes information related to an application process's startup. |
| ApplicationStartInfo.InterfaceConsts |
Contains parcel-content and parcel-write constants for ApplicationStartInfo. |
| AppOpsManager |
App-ops are used for two purposes: Access control and tracking. |
| AppOpsManager.OnOpNotedCallback |
Callback an app can |
| AppOpsManager.OpActiveChanged2EventArgs |
Contains an operation's active-state change with its device and attribution information. |
| AppOpsManager.OpActiveChangedEventArgs |
Contains an operation's reported active state, UID, and package name. |
| AppOpsManager.OpChanged2EventArgs |
Contains an operation-state change with its user and persistent-device identifiers. |
| AppOpsManager.OpChangedEventArgs |
Contains the operation and package name reported by an operation-state callback. |
| AsyncNotedAppOp |
When an |
| AsyncNotedAppOp.InterfaceConsts |
Contains parcel-content and parcel-write constants for AsyncNotedAppOp. |
| AuthenticationRequiredException |
Specialization of |
| AuthenticationRequiredException.InterfaceConsts |
Contains parcel-content and parcel-write constants for AuthenticationRequiredException. |
| AutomaticZenRule |
Rule instance information for a zen (aka DND or Attention Management) mode. |
| AutomaticZenRule.Builder |
Builds AutomaticZenRule instances. |
| AutomaticZenRule.InterfaceConsts |
Contains parcel-content and parcel-write constants for AutomaticZenRule. |
| BackgroundServiceStartNotAllowedException |
Exception thrown when an app tries to start a background |
| BackgroundServiceStartNotAllowedException.InterfaceConsts |
Contains parcel-content and parcel-write constants for BackgroundServiceStartNotAllowedException. |
| BroadcastOptions |
Helper class for building an options Bundle that can be used with
|
| ComponentCaller |
Represents the app that launched the component. |
| DatePickerDialog |
A simple dialog containing an |
| DatePickerDialog.DateSetEventArgs |
Contains the year, month, and day selected in a date-picker dialog. |
| Dialog |
Base class for Dialogs. |
| Dialog.InterfaceConsts |
Contains the |
| 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 |
Contains parcel-content and parcel-write constants for DirectAction. |
| 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 |
Contains parcel-content and parcel-write constants for ForegroundServiceStartNotAllowedException. |
| 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 |
Contains the |
| Fragment.SavedState |
State information that has been retrieved from a fragment instance
through |
| Fragment.SavedState.InterfaceConsts |
Contains parcel-content and parcel-write constants for Fragment.SavedState. |
| 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 |
Contains parcel-content and parcel-write constants for GameState. |
| GrammaticalInflectionManager |
This class allow applications to control granular grammatical inflection settings (such as per-app grammatical gender). |
| HandoffActivityData |
Represents information needed to recreate an activity on a remote device owned by the user. |
| HandoffActivityData.Builder |
Builder for |
| HandoffActivityData.InterfaceConsts |
Contains parcel-content and parcel-write constants for HandoffActivityData. |
| HandoffActivityDataRequestInfo |
Represents a request made by the platform to hand off an activity. |
| HandoffActivityParams |
Represents options specifying how an activity will be handed off to other devices. |
| HandoffActivityParams.Builder |
Builder for |
| HandoffActivityParams.InterfaceConsts |
Contains parcel-content and parcel-write constants for HandoffActivityParams. |
| InfeasibleActivityOptionsException |
This exception is thrown when a call to |
| 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 |
Declares an instrumentation component in the generated Android manifest. |
| IntentFilterAttribute |
Generates the |
| IntentService |
This class was deprecated in API level 30. |
| InvalidForegroundServiceTypeException |
Exception thrown when an app tries to start a foreground |
| InvalidForegroundServiceTypeException.InterfaceConsts |
Contains parcel-content and parcel-write constants for InvalidForegroundServiceTypeException. |
| KeyguardManager |
Class to manage and query the state of the lock screen (also known as Keyguard). |
| KeyguardManager.DeviceLockedStateEventArgs |
Contains the device-locked state reported to the generated listener. |
| KeyguardManager.KeyguardDismissCallback |
Callback passed to
|
| KeyguardManager.KeyguardLock |
Handle returned by |
| KeyguardManager.KeyguardLockedStateEventArgs |
Contains the keyguard-locked state reported to the generated listener. |
| 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 |
Declares initial multi-window layout information for an activity. |
| 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 |
Contains parcel-content and parcel-write constants for LocaleConfig. |
| LocaleManager |
This class gives access to system locale services. |
| MediaRouteActionProvider |
The media route action provider displays a |
| MediaRouteButton |
Displays and selects available media routes. |
| MemoryBudgetManager |
This class is the client interface to memory budgets for applications and processes. |
| MemoryBudgetManager.OverBudgetEventArgs |
Contains the memory budget reported when an application or process exceeds its budget. |
| MetaDataAttribute |
Generates the |
| MissingForegroundServiceTypeException |
Exception thrown when an app tries to start a foreground |
| MissingForegroundServiceTypeException.InterfaceConsts |
Contains parcel-content and parcel-write constants for MissingForegroundServiceTypeException. |
| 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 NotificationManager. |
| Notification.Action |
Structure to encapsulate a named action that can be shown as part of this notification. |
| Notification.Action.Builder |
Builder class for Action objects. |
| Notification.Action.InterfaceConsts |
Contains parcel-content and parcel-write constants for Notification.Action. |
| Notification.Action.WearableExtender |
Wearable extender for notification actions. |
| 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.BridgedNotificationMetadata |
Encapsulates the information needed to display a notification as a bridged notification. |
| Notification.BridgedNotificationMetadata.InterfaceConsts |
Contains parcel-content and parcel-write constants for Notification.BridgedNotificationMetadata. |
| Notification.BubbleMetadata |
Encapsulates the information needed to display a notification as a bubble. |
| Notification.BubbleMetadata.Builder |
Builder to construct a BubbleMetadata object. |
| Notification.BubbleMetadata.InterfaceConsts |
Contains parcel-content and parcel-write constants for Notification.BubbleMetadata. |
| Notification.Builder |
Builder class for Notification objects. |
| Notification.CallStyle |
Helper class for generating large-format notifications that include a caller and required actions, such as an incoming call with answer / decline. |
| Notification.CarExtender |
Helper class to add Android Auto extensions to notifications. |
| Notification.CarExtender.Builder |
Builder class for CarExtender.UnreadConversation objects. |
| Notification.CarExtender.UnreadConversation |
A class which holds the unread messages from a conversation. |
| Notification.DecoratedCustomViewStyle |
Notification style for custom views that are decorated by the system Instead of providing a notification that is completely custom, a developer can set this style and still obtain system decorations like the notification header with the expand affordance and actions. |
| Notification.DecoratedMediaCustomViewStyle |
Notification style for media custom views that are decorated by the system Instead of providing a media notification that is completely custom, a developer can set this style and still obtain system decorations like the notification header with the expand affordance and actions. |
| Notification.InboxStyle |
Helper class for generating large-format notifications that include a list of (up to 5) strings. |
| Notification.InterfaceConsts |
Contains parcel-content and parcel-write constants for Notification. |
| 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 |
An object representing a simple message or piece of media within a mixed-media message. |
| Notification.Metric |
A metric, used with MetricStyle, and which has a value and a label. |
| Notification.Metric.FixedDate |
A metric value for showing a date. |
| Notification.Metric.FixedFloat |
Metric corresponding to a floating point value. |
| Notification.Metric.FixedInt |
Metric corresponding to an integer value. |
| Notification.Metric.FixedText |
Metric corresponding to a text value. |
| Notification.Metric.FixedTime |
A metric value for showing a clock time. |
| Notification.Metric.MetricValue |
A superclass for the various value types used by the Metric class. |
| Notification.Metric.TimeDifference |
This represents a timer, a stopwatch, or a countdown to an event. |
| Notification.MetricStyle |
A notification style which shows up to 3 metrics when expanded. |
| Notification.ProgressStyle |
A Notification Style used to define a notification whose expanded state includes a highly customizable progress bar with segments, points, a custom tracker icon, and custom icons at the start and end of the progress bar. |
| Notification.ProgressStyle.Point |
A point within the progress bar, defining its position and color. |
| Notification.ProgressStyle.Segment |
A segment of the progress bar, which defines its length and color. |
| Notification.ProjectedExtender |
Helper class to add projection-specific extensions to a notification. |
| Notification.Style |
An object that can apply a rich notification style to a Notification.Builder object. |
| Notification.TvExtender |
Helper class to add Android TV extensions to notifications. |
| 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 |
Contains parcel-content and parcel-write constants for NotificationChannel. |
| NotificationChannelGroup |
A grouping of related notification channels. |
| NotificationChannelGroup.InterfaceConsts |
Contains parcel-content and parcel-write constants for NotificationChannelGroup. |
| NotificationManager |
Class to notify the user of events that happen. |
| NotificationManager.Policy |
Notification policy configuration. |
| NotificationManager.Policy.InterfaceConsts |
Contains parcel-content and parcel-write constants for NotificationManager.Policy. |
| 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 |
Contains parcel-content and parcel-write constants for PendingIntent. |
| PermissionAttribute |
Defines a security permission in the Android manifest rather than requesting an existing permission. |
| PermissionGroupAttribute |
Declares a named grouping of related permissions without defining a permission itself. |
| PermissionTreeAttribute |
Declares ownership of a permission-name tree rather than defining an individual permission. |
| 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 |
Contains parcel-content and parcel-write constants for Person. |
| 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 |
Contains parcel-content and parcel-write constants for PictureInPictureParams. |
| PictureInPictureUiState |
Used by |
| PictureInPictureUiState.InterfaceConsts |
Contains parcel-content and parcel-write constants for PictureInPictureUiState. |
| Presentation |
Base class for presentations. |
| ProgressDialog |
A dialog showing a progress indicator and an optional text message or view. |
| PropertyAttribute |
Adds a named property declaration to an application or component manifest entry. |
| RecoverableSecurityException |
Specialization of |
| RecoverableSecurityException.InterfaceConsts |
Contains parcel-content and parcel-write constants for RecoverableSecurityException. |
| RemoteAction |
Represents a remote action that can be called from another process. |
| RemoteAction.InterfaceConsts |
Contains parcel-content and parcel-write constants for RemoteAction. |
| RemoteInput |
A |
| RemoteInput.Builder |
Builder class for |
| RemoteInput.InterfaceConsts |
Contains parcel-content and parcel-write constants for RemoteInput. |
| SearchableInfo |
Searchability meta-data for an activity. |
| SearchableInfo.InterfaceConsts |
Contains parcel-content and parcel-write constants for SearchableInfo. |
| 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 |
Contains the |
| ServiceAttribute |
Generates a |
| ServiceStartNotAllowedException |
Exception thrown when an app tries to start a |
| SharedElementCallback |
Listener provided in
|
| StartForegroundCalledOnStoppedServiceException |
Exception thrown when |
| StartForegroundCalledOnStoppedServiceException.InterfaceConsts |
Contains parcel-content and parcel-write constants for StartForegroundCalledOnStoppedServiceException. |
| StatusBarManager |
Allows an app to control the status bar. |
| SupportsGLTextureAttribute |
Declares a single GL texture compression format that the application supports,
generating a |
| SyncNotedAppOp |
Description of an app-op that was noted for the current process. |
| SyncNotedAppOp.InterfaceConsts |
Contains parcel-content and parcel-write constants for SyncNotedAppOp. |
| TabActivity |
For apps developing against |
| TaskInfo |
Stores information about a particular Task. |
| TaskLocation |
Represents location of an |
| 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 |
Contains the hour and minute selected in a time-picker dialog. |
| 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 |
Contains the color contrast reported by a UI contrast-change callback. |
| UsesFeatureAttribute |
Declares a device feature or OpenGL ES version used by the application. |
| UsesLibraryAttribute |
Declares a shared-library dependency in the application manifest. |
| UsesPermissionAttribute |
Requests a permission in the application manifest without defining or granting that permission. |
| 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 |
Represents a single option that the user may select using their voice. |
| VoiceInteractor.PickOptionRequest.Option.InterfaceConsts |
Contains parcel-content and parcel-write constants for VoiceInteractor.PickOptionRequest.Option. |
| 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 |
Contains parcel-content and parcel-write constants for VoiceInteractor.Prompt. |
| 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 |
Contains parcel-content and parcel-write constants for WallpaperColors. |
| WallpaperInfo |
This class is used to specify meta information of a wallpaper service. |
| WallpaperInfo.InterfaceConsts |
Contains parcel-content and parcel-write constants for WallpaperInfo. |
| WallpaperManager |
Provides access to the system wallpaper. |
| WallpaperManager.ColorsChangedEventArgs |
Contains reported wallpaper colors and the affected wallpaper flags. |
Interfaces
| Name | Description |
|---|---|
| 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. |
| AppInteractionSession.ILifecycleListener |
Listener for session lifecycle events. |
| Application.IActivityLifecycleCallbacks |
Receives callbacks for activity lifecycle state changes in an Application. |
| 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.IDeviceLockedStateListener |
Listener for device locked state changes. |
| 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. |
| MemoryBudgetManager.IOnOverBudgetListener |
The callback that is notified when a budget is exceeded. |
| Notification.Action.IExtender |
Extender interface for use with Builder.extend. |
| Notification.IExtender |
Extender interface for use with Builder.extend. |
| 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
| Name | Description |
|---|---|
| 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. |
| ActionEmphasis |
Specifies relative-importance hints for notification actions. |
| ActionStyle |
Specifies preferred icon-and-text presentation styles for notification actions. |
| ActivityManagerAppTaskWindowingLayer |
Identifies windowing layers requested for application tasks. |
| ActivityManagerAppTaskWindowingLayerResult |
Reports whether a task's windowing-layer request was granted or rejected. |
| AlarmType |
Enumerates values returned by several methods of AlarmType and taken as a parameter of several methods of AlarmManager. |
| AnrType |
Identifies the operation or timeout category of an application-not-responding event. |
| AppInteractionAttributionInteractionType |
Classifies the user interaction associated with app-interaction attribution. |
| AppInteractionDeniedReason |
Identifies why access for an app interaction was denied. |
| AppInteractionSessionCloseReason |
Identifies why an app-interaction session closed. |
| ApplicationErrorReportType |
Enumerates values returned by several types. |
| ApplicationExitInfoReason |
Identifies the reason recorded for an application process's exit. |
| ApplicationStartInfoLaunchMode |
Identifies activity launch modes recorded in application-start diagnostics. |
| ApplicationStartInfoStartComponent |
Identifies the component category that caused an application process to start. |
| ApplicationStartInfoStartReason |
Identifies the trigger recorded for an application process start. |
| ApplicationStartInfoStartTimestamp |
Identifies milestones used as keys in application-start timing data. |
| ApplicationStartInfoStartType |
Identifies cold, warm, hot, or unset application-start classification. |
| ApplicationStartInfoStartupState |
Reports progress or failure of application-start data collection. |
| AppOpsManagerCallbackFlag |
Specifies filtering options for app-operation note callbacks. |
| AppOpsManagerMode |
Enumerates values returned by several types. |
| AutomaticRuleStatus |
Identifies status changes reported for an automatic Zen rule. |
| AutomaticZenRuleType |
Classifies the purpose or trigger of an automatic Zen rule. |
| BackgroundActivityStartMode |
Specifies policy modes for background activity starts through pending intents. |
| BreadCrumbClickFlags |
Defines flags for FragmentBreadCrumbs click handling. |
| BroadcastDeferralPolicy |
Specifies when broadcast delivery may be deferred. |
| BroadcastDeliveryGroupPolicy |
Specifies which broadcasts in a delivery group should be delivered. |
| ConversationSenders |
Selects which conversation categories can bypass Do Not Disturb. |
| 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 |
Controls whether users can edit a remote-input choice before it is sent. |
| EnableCarModeFlags |
Enumerates values returned by several types and taken as a parameter of the F:Android.App.UiModeManager.EnableCarMode member. |
| FixedDateFormat |
Selects a display format for a fixed-date notification metric. |
| 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 |
Selects entering fullscreen or restoring the previous multi-window mode. |
| GameMode |
Identifies the platform's game-mode settings and unsupported state. |
| GameStateMode |
Classifies the game's reported gameplay or content state. |
| Importance |
Enumerates values returned by several types. |
| ImportanceReason |
Enumerates values returned by several types. |
| InterruptionFilter |
Selects notification and audio interruption-filtering modes. |
| LocaleConfigStatus |
Reports whether the application's locale configuration was read successfully. |
| LockTaskMode |
Identifies inactive, locked-task, or app-pinning operation. |
| 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. |
| NotificationAgentTaskInteractionFlags |
Specifies notification-presentation hints associated with agent-task interaction. |
| NotificationBadgeIconType |
Selects how a notification is represented when used as a badge. |
| NotificationBubblePreference |
Selects whether an app's notifications may appear as bubbles. |
| NotificationCallType |
Classifies a call-style notification as incoming, ongoing, screening, or unknown. |
| 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 |
Selects immediate, deferred, or default presentation of foreground-service notifications. |
| NotificationGroupAlertBehavior |
Controls group-specific muting of notification sound and vibration. |
| NotificationImportance |
Defines notification importance levels and the unspecified value. |
| NotificationPriority |
Enumerates values returned by several types. |
| NotificationPriorityCategory |
Specifies notification categories allowed through priority Do Not Disturb filtering. |
| NotificationPrioritySenders |
Selects any sender, saved contacts, or starred contacts for priority notifications. |
| NotificationSemanticStyle |
Specifies semantic presentation styles for notification content. |
| NotificationVisibility |
Enumerates values returned by several types and taken as a parameter of the F:Android.App.Notification+Builder.SetVisibility member. |
| OverrideTransition |
Selects an activity's opening or closing transition for an override. |
| PendingIntentFlags |
Enumerates values returned by several methods of PendingIntentFlags and taken as a parameter of several types. |
| PolicyPrioritySendersType |
Defines priority sender categories for notification policy. |
| 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 |
Identifies whether remote input came from a fixed choice or free-form entry. |
| RequiredContentUriPermission |
Defines required URI permissions for a component caller. |
| Result |
Enumerates values returned by several types and taken as a parameter of several types. |
| RunningAppProcessInfoImportanceType |
Defines importance values for running application processes. |
| SemanticAction |
Describes the intended operation of a notification action. |
| ServiceInfoFlags |
Enumerates values returned by several types. |
| ShowPowerMenuResult |
Reports the outcome of a request to show the system power menu. |
| 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 |
Controls how a notification is handled when its service leaves foreground state. |
| SuppressedEffects |
Specifies visual notification effects blocked by Do Not Disturb. |
| TileAddRequestError |
Identifies errors when requesting that a Quick Settings tile be added. |
| TileAddRequestResult |
Reports whether a Quick Settings tile was added, already present, or not added. |
| TimeDifferenceFormat |
Selects adaptive-unit or chronometer-style rendering for a notification time difference. |
| UiAutomationFlags |
Specifies accessibility-subsystem options for UI automation. |
| 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 |
Specifies display-theme hints derived from wallpaper colors. |
| WallpaperManagerFlags |
Selects system or lock-screen wallpaper targets. |
| WatchForeground |
Specifies additional foreground-state change reporting for app-operation watchers. |
| WearableSizePreset |
Enumerates values returned by several types and taken as a parameter of the F:Android.App.Notification+WearableExtender.SetCustomSizePreset member. |
Remarks
This namespace contains the managed bindings for the android.app package.
Android platform documentation for android.app.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.