androidx.core.app


Interfaces

ActivityCompat.OnRequestPermissionsResultCallback

This interface is the contract for receiving the results for permission requests.

ActivityCompat.PermissionCompatDelegate

Customizable delegate that allows delegating permission compatibility methods to a custom implementation.

NotificationCompat.Action.Extender

Extender interface for use with extend.

NotificationCompat.Extender

Extender interface for use with extend.

OnMultiWindowModeChangedProvider

Interface for components that can dispatch calls from Activity.onMultiWindowModeChanged.

OnNewIntentProvider

Interface for components that can dispatch calls from Activity.onNewIntent.

OnPictureInPictureModeChangedProvider

Interface for components that can dispatch calls from Activity.onPictureInPictureModeChanged.

OnUserLeaveHintProvider

Interface for components that can dispatch calls from Activity.onUserLeaveHint.

SharedElementCallback.OnSharedElementsReadyListener

Listener to be called after onSharedElementsArrived when the shared elements are ready to be hidden in the source Activity and shown in the destination Activity.

TaskStackBuilder.SupportParentable

Classes

ActivityCompat

Helper for accessing features in android.app.Activity.

ActivityManagerCompat

Helper for accessing features in android.app.ActivityManager in a backwards compatible fashion.

ActivityOptionsCompat

Helper for accessing features in android.app.ActivityOptions in a backwards compatible fashion.

AlarmManagerCompat

Compatibility library for AlarmManager with fallbacks for older platforms.

AppComponentFactory

Version of android.app.AppComponentFactory that works with androidx libraries.

AppLaunchChecker

This class provides APIs for determining how an app has been launched.

AppOpsManagerCompat

Helper for accessing features in android.app.AppOpsManager.

BundleCompat

This class is deprecated.

Replaced with androidx.core.os.BundleCompat.

DialogCompat

Helper for accessing features in android.app.Dialog in a backwards compatible fashion.

FrameMetricsAggregator

This class can be used to record and return data about per-frame durations.

GrammaticalInflectionManagerCompat

Helper for accessing features in android.app.GrammaticalInflectionManager.

JobIntentService

This class is deprecated.

This class has been deprecated in favor of the Android Jetpack WorkManager library, which makes it easy to schedule deferrable, asynchronous tasks that are expected to run even if the app exits or the device restarts.

LocaleManagerCompat

Helper for accessing features in android.app.LocaleManager in a backwards compatible fashion.

MultiWindowModeChangedInfo

Class that encapsulates the information that is delivered when Activity.onMultiWindowModeChanged is dispatched to a OnMultiWindowModeChangedProvider.

NavUtils

NavUtils provides helper functionality for applications implementing recommended Android UI navigation patterns.

NotificationChannelCompat

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

NotificationChannelCompat.Builder

Builder class for NotificationChannelCompat objects.

NotificationChannelGroupCompat

A grouping of related notification channels. e.g., channels that all belong to a single account.

NotificationChannelGroupCompat.Builder

Builder class for NotificationChannelGroupCompat objects.

NotificationCompat

Helper for accessing features in android.app.Notification.

NotificationCompat.Action

Structure to encapsulate a named action that can be shown as part of this notification.

NotificationCompat.Action.Builder

Builder class for Action objects.

NotificationCompat.Action.WearableExtender

Wearable extender for notification actions.

NotificationCompat.BigPictureStyle

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

NotificationCompat.BigTextStyle

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

NotificationCompat.BubbleMetadata

Encapsulates the information needed to display a notification as a bubble.

NotificationCompat.BubbleMetadata.Builder

Builder to construct a BubbleMetadata object.

NotificationCompat.Builder

Builder class for NotificationCompat objects.

NotificationCompat.CallStyle

Helper class for generating large-format notifications that include a caller and required actions, and indicate an incoming call.

NotificationCompat.CarExtender

Helper class to add Android Auto extensions to notifications.

NotificationCompat.CarExtender.UnreadConversation

This class is deprecated.

UnreadConversation is no longer supported.

NotificationCompat.CarExtender.UnreadConversation.Builder

Builder class for CarExtender.UnreadConversation objects.

NotificationCompat.DecoratedCustomViewStyle

Notification style for custom views that are decorated by the system.

NotificationCompat.InboxStyle

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

NotificationCompat.MessagingStyle

Helper class for generating large-format notifications that include multiple back-and-forth messages of varying types between any number of people.

NotificationCompat.MessagingStyle.Message
NotificationCompat.Style

An object that can apply a rich notification style to a Notification.Builder object.

NotificationCompat.TvExtender

Helper class to add Android TV extensions to notifications.

NotificationCompat.WearableExtender

Helper class to add wearable extensions to notifications.

NotificationCompatExtras

Well-known extras used by NotificationCompat for backwards compatibility.

NotificationCompatSideChannelService

Abstract service to receive side channel notifications sent from androidx.core.app.NotificationManagerCompat.

NotificationManagerCompat

Compatibility library for NotificationManager with fallbacks for older platforms.

NotificationManagerCompat.NotificationWithIdAndTag

Helper class which encapsulates a Notification, its id, and optionally a tag, for use when batch-posting a number of notifications.

PendingIntentCompat

Helper for accessing features in PendingIntent.

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.

PictureInPictureModeChangedInfo

Class that encapsulates the information that is delivered when Activity.onPictureInPictureModeChanged is dispatched to a OnPictureInPictureModeChangedProvider.

RemoteActionCompat

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

RemoteInput

Helper for using the android.app.RemoteInput.

RemoteInput.Builder

Builder class for androidx.core.app.RemoteInput objects.

ServiceCompat

Helper for accessing features in android.app.Service.

ShareCompat

Extra helper functionality for sharing data between activities.

ShareCompat.IntentBuilder

IntentBuilder is a helper for constructing ACTION_SEND and ACTION_SEND_MULTIPLE sharing intents and starting activities to share content.

ShareCompat.IntentReader

IntentReader is a helper for reading the data contained within a sharing (ACTION_SEND) Intent.

SharedElementCallback

Listener provided in setEnterSharedElementCallback and setExitSharedElementCallback to monitor the Activity transitions.

TaskStackBuilder

Utility class for constructing synthetic back stacks for cross-task navigation on Android 3.0 and newer.

Annotations

NotificationCompat.Action.SemanticAction

Provides meaning to an Action that hints at what the associated PendingIntent will do.