androidx.core.os


Annotations

BuildCompat.PrereleaseSdkCheck

Experimental feature set for pre-release SDK checks.

Interfaces

CancellationSignal.OnCancelListener

Listens for cancellation.

OutcomeReceiverCompat

Callback interface intended for use when an asynchronous operation may result in a failure.

ParcelableCompatCreatorCallbacks

This interface is deprecated.

Use android.os.Parcelable.ClassLoaderCreator directly.

Classes

BufferFillPolicy
BundleCompat

Helper for accessing features in Bundle.

BundleKt
CancellationSignal

This class is deprecated.

This class was added to the platform in SDK 16, which is below Jetpack's minimum SDK requirement.

ConfigurationCompat

Helper class which allows access to properties of Configuration in a backward compatible fashion.

EnvironmentCompat

Helper for accessing features in Environment.

ExecutorCompat

Helper for accessing features in Executor.

HandlerCompat

Helper for accessing features in Handler.

HandlerKt
HeapProfileRequestBuilder

Request builder to create a request for a heap profile from ProfilingManager.

JavaHeapDumpRequestBuilder

Request builder to create a request for a java heap dump from ProfilingManager.

LocaleListCompat

Helper for accessing features in LocaleList.

MessageCompat

Helper for accessing features in Message.

OutcomeReceiverKt
ParcelCompat

Helper for accessing features in Parcel.

ParcelableCompat

This class is deprecated.

Use android.os.Parcelable.ClassLoaderCreator directly.

PersistableBundleKt
ProcessCompat

Helper for accessing features in Process.

Profiling
ProfilingRequest

Profiling request class containing data to submit a profiling request.

ProfilingRequestBuilder

Base class for request builders.

StackSamplingRequestBuilder

Request builder to create a request for stack sampling from ProfilingManager.

SystemTraceRequestBuilder

Request builder to create a request for a system trace from ProfilingManager.

TraceCompat

This class is deprecated.

TraceCompat is deprecated in favor of androidx.tracing.Trace.

TraceKt
UserHandleCompat

Helper for accessing features in android.os.UserHandle in a backwards compatible fashion.

UserManagerCompat

Helper for accessing features in android.os.UserManager in a backwards compatible fashion.

BuildCompat

This class contains additional platform version checking methods for targeting pre-release versions of Android.

Exceptions

OperationCanceledException

An exception type that is thrown when an operation in progress is canceled.