android.content


Interfaces

OnPrimaryClipChangedListener

Defines a listener callback that is invoked when the primary clip on the clipboard changes.

ComponentCallbacks

The set of callback APIs that are common to all application components (android.app.Activity, android.app.Service, ContentProvider, and android.app.Application).

ComponentCallbacks2

Extended ComponentCallbacks interface with a new callback for finer-grained memory management.

PipeDataWriter

Interface to write a stream of data to a pipe.

DialogInterface

Interface that defines a dialog-type class that can be shown, dismissed, or canceled, and may have buttons that can be clicked.

EntityIterator

A specialization of Iterator that allows iterating over a collection of Entity objects.

OnFinished

Callback interface for discovering when a send operation has completed.

OnLoadCanceledListener

Interface that is implemented to discover when a Loader has been canceled before it finished loading its data.

OnLoadCompleteListener

Interface that is implemented to discover when a Loader has finished loading its data.

ServiceConnection

Interface for monitoring the state of an application service.

SharedPreferences

Interface for accessing and modifying preference data returned by android.content.Context#getSharedPreferences.

SyncStatusObserver

Classes

AbstractThreadedSyncAdapter

An abstract implementation of a SyncAdapter that spawns a thread to invoke a sync operation.

AsyncQueryHandler

A helper class to help make handling asynchronous ContentResolver queries easier.

AsyncTaskLoader

Abstract Loader that provides an AsyncTask to do the work.

AttributionSource

This class represents a source to which access to permission protected data should be attributed.

BroadcastReceiver

Base class for code that receives and handles broadcast intents sent by android.content.Context#sendBroadcast(Intent).

ClipboardManager

Interface to the clipboard service, for placing and retrieving text in the global clipboard.

ClipData

Representation of a clipped data on the clipboard.

ClipDescription

Meta-data describing the contents of a ClipData.

ComponentName

Identifier for a specific application component (android.app.Activity, android.app.Service, android.content.BroadcastReceiver, or android.content.ContentProvider) that is available.

ContentProvider

Content providers are one of the primary building blocks of Android applications, providing content to applications.

ContentProviderClient

The public interface object used to interact with a specific ContentProvider.

ContentProviderOperation

Represents a single operation to be performed as part of a batch of operations.

ContentProviderResult

Contains the result of the application of a ContentProviderOperation.

ContentQueryMap

Caches the contents of a cursor into a Map of String->ContentValues and optionally keeps the cache fresh by registering for updates on the content backing the cursor.

ContentResolver

This class provides applications access to the content model.

ContentUris

Utility methods useful for working with android.net.Uri objects that use the "content" (content://) scheme.

ContentValues

This class is used to store a set of values that the ContentResolver can process.

Context

Interface to global information about an application environment.

ContextParams

This class represents rules around how a context being created via Context.createContext should behave.

ContextWrapper

Proxying implementation of Context that simply delegates all of its calls to another Context.

CursorLoader

A loader that queries the ContentResolver and returns a Cursor.

Entity

A representation of a item using ContentValues.

Intent

An intent is an abstract description of an operation to be performed.

IntentFilter

Structured description of Intent values to be matched.

IntentSender

A description of an Intent and target action to perform with it.

Loader

A class that performs asynchronous loading of data.

LocusId

An identifier for an unique state (locus) in the application.

MutableContextWrapper

Special version of ContextWrapper that allows the base context to be modified after it is initially set.

PeriodicSync

Value type that contains information about a periodic sync.

QuickViewConstants

Constants for Intent.ACTION_QUICK_VIEW.

RestrictionEntry

Applications can expose restrictions for a restricted user on a multiuser device.

RestrictionsManager

Provides a mechanism for apps to query restrictions imposed by an entity that manages the user.

SearchRecentSuggestionsProvider

This superclass can be used to create a simple search suggestions provider for your application.

SyncAdapterType

Value type that represents a SyncAdapterType.

SyncContext

SyncInfo

Information about the sync operation that is currently underway.

SyncRequest

Convenience class to construct sync requests.

SyncResult

This class is used to communicate the results of a sync operation to the SyncManager.

SyncStats

Used to record various statistics about the result of a sync operation.

UriMatcher

Utility class to aid in matching URIs in content providers.

UriPermission

Description of a single Uri permission grant.

UriRelativeFilter

A filter for matching Intent URI Data as part of a UriRelativeFilterGroup.

UriRelativeFilterGroup

An intent data matching group based on a URI's relative reference which includes the path, query and fragment.

Exceptions

ActivityNotFoundException

This exception is thrown when a call to android.

OperationApplicationException

Thrown when an application of a ContentProviderOperation fails due the specified constraints.

ReceiverCallNotAllowedException

This exception is thrown from android.