Aracılığıyla paylaş


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

The AppTask allows you to manage your own application's tasks.

ActivityManager.MemoryInfo

Information you can retrieve about the available memory through ActivityManager#getMemoryInfo.

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 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

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 /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

Callback an app can #setOnOpNotedCallback set to monitor the app-ops the system has tracked for it.

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
BroadcastOptions

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

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 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 Service when it's not allowed to do so.

ForegroundServiceStartNotAllowedException.InterfaceConsts
ForegroundServiceTypeException

Base exception thrown when an app tries to start a foreground Service without a valid type.

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 Fragment#instantiate(Context, String, Bundle) when there is an instantiation failure.

Fragment.InterfaceConsts
Fragment.SavedState

State information that has been retrieved from a fragment instance through FragmentManager#saveFragmentInstanceState(Fragment) FragmentManager.saveFragmentInstanceState.

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

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 //intent-filter element within AndroidManifest.xml.

IntentService
InvalidForegroundServiceTypeException

Exception thrown when an app tries to start a foreground Service with an invalid type.

InvalidForegroundServiceTypeException.InterfaceConsts
KeyguardManager

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

KeyguardManager.KeyguardDismissCallback

Callback passed to KeyguardManager#requestDismissKeyguard(Activity, KeyguardDismissCallback) to notify caller of result.

KeyguardManager.KeyguardLock

Handle returned by KeyguardManager#newKeyguardLock that allows you to disable / reenable the keyguard.

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 Activity or Fragment for managing one or more android.content.Loader instances associated with it.

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 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.

MissingForegroundServiceTypeException

Exception thrown when an app tries to start a foreground Service without a type.

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 android.app.NotificationManager.

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 objects.

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.Builder object.

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 class.

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 objects.

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 android.app.PendingIntent that is sent.

RemoteInput.Builder

Builder class for RemoteInput objects.

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 /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.

StartForegroundCalledOnStoppedServiceException

Exception thrown when Service#startForeground is called on a service that's not actually started.

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 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.

UiModeManager.ContrastChangeEventArgs
UsesFeatureAttribute
UsesLibraryAttribute
UsesPermissionAttribute
VoiceInteractor

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

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 Activity.

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 Application#registerOnProvideAssistDataListener and Application#unregisterOnProvideAssistDataListener.

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 FragmentTransaction#addToBackStack(String) FragmentTransaction.addToBackStack().

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.IKeyguardLockedStateListener

Listener for keyguard locked state changes.

KeyguardManager.IOnKeyguardExitResult

Callback passed to KeyguardManager#exitKeyguardSecurely to notify caller of result.

LoaderManager.ILoaderCallbacks

Callback interface for a client to interact with the manager.

Notification.Action.IExtender
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#setOnCancelListener for configuring your activity to monitor search UI state.

SearchManager.IOnDismissListener

See SearchManager#setOnDismissListener for configuring your activity to monitor search UI state.

SharedElementCallback.IOnSharedElementsReadyListener

Listener to be called after SharedElementCallback#onSharedElementsArrived(List, List, OnSharedElementsReadyListener) when the shared elements are ready to be hidden in the source Activity and shown in the destination Activity.

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 AccessibilityEvent stream.

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.