Android.Content Namespace

Contains classes for accessing and publishing data on a device.

Classes

AbstractThreadedSyncAdapter

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

ActivityNotFoundException

This exception is thrown when a call to StartActivity(Intent) or one of its variants fails because an Activity can not be found to execute the given Intent.

AsyncQueryHandler

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

AsyncQueryHandler.WorkerArgs
AsyncQueryHandler.WorkerHandler
AsyncTaskLoader

Abstract Loader that provides an AsyncTask<TParams,TProgress,TResult> to do the work.

BroadcastReceiver

Base class for code that will receive intents sent by sendBroadcast().

BroadcastReceiver.PendingResult

State for a result that is pending for a broadcast receiver.

BroadcastReceiverAttribute

Generates a /manifest/application/receiver element within AndroidManifest.xml.

ClipboardManager

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

ClipData

Representation of a clipped data on the clipboard.

ClipData.InterfaceConsts
ClipData.Item

Description of a single item in a ClippedData.

ClipDescription

Meta-data describing the contents of a ClipData.

ClipDescription.InterfaceConsts
ComponentCallbacks2

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

ComponentCallbacks2Consts
ComponentName

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

ComponentName.InterfaceConsts
ContentProvider

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

ContentProvider.InterfaceConsts
ContentProviderAttribute

Generates a /manifest/application/provider element within AndroidManifest.xml.

ContentProviderClient

The public interface object used to interact with a ContentProvider.

ContentProviderOperation

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

ContentProviderOperation.Builder

Used to add parameters to a ContentProviderOperation.

ContentProviderOperation.InterfaceConsts
ContentProviderResult

Contains the result of the application of a ContentProviderOperation.

ContentProviderResult.InterfaceConsts
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 Uri objects that use the "content" (content://) scheme.

ContentValues

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

ContentValues.InterfaceConsts
Context

Interface to global information about an application environment.

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

DialogClickEventArgs
DialogInterface
DialogInterfaceConsts
DialogKeyEventArgs

Provides data for the KeyPress event.

DialogMultiChoiceClickEventArgs
Entity

A representation of a item using ContentValues.

Entity.NamedContentValues
GrantUriPermissionAttribute

Generates a /manifest/provider/grant-uri-permission elements within AndroidManifest.xml.

Intent

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

Intent.FilterComparison

Wrapper class holding an Intent and implementing comparisons on it for the purpose of filtering.

Intent.InterfaceConsts
Intent.ShortcutIconResource

Represents a shortcut/live folder icon resource.

Intent.ShortcutIconResource.InterfaceConsts
IntentFilter

Structured description of Intent values to be matched.

IntentFilter.AuthorityEntry

This is an entry for a single authority in the Iterator returned by AuthoritiesIterator().

IntentFilter.InterfaceConsts
IntentFilter.MalformedMimeTypeException

This exception is thrown when a given MIME type does not have a valid syntax.

IntentSender

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

IntentSender.InterfaceConsts
IntentSender.SendIntentException

Exception thrown when trying to send through a PendingIntent that has been canceled or is otherwise no longer able to execute the request.

Loader

A class that performs asynchronous loading of data.

Loader.ForceLoadContentObserver

An implementation of a ContentObserver that takes care of connecting it to the Loader to have the loader re-load its data when the observer is told it has changed.

Loader.LoadCanceledEventArgs
Loader.LoadCompleteEventArgs
MutableContextWrapper

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

OperationApplicationException

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

PeriodicSync

Value type that contains information about a periodic sync.

PeriodicSync.InterfaceConsts
QuickViewConstants
ReceiverCallNotAllowedException
RestrictionEntry

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

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

SharedPreferencesOnSharedPreferenceChangeEventArgs
SyncAdapterType

Value type that represents a SyncAdapterType.

SyncAdapterType.InterfaceConsts
SyncContext
SyncInfo

Information about the sync operation that is currently underway.

SyncInfo.InterfaceConsts
SyncRequest

Convenience class to construct sync requests.

SyncRequest.Builder
SyncRequest.InterfaceConsts
SyncResult

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

SyncResult.InterfaceConsts
SyncStats

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

SyncStats.InterfaceConsts
UriMatcher

Utility class to aid in matching URIs in content providers.

UriPermission

Description of a single Uri permission grant.

UriPermission.InterfaceConsts

Interfaces

ClipboardManager.IOnPrimaryClipChangedListener

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

ContentProvider.IPipeDataWriter

Interface to write a stream of data to a pipe.

IComponentCallbacks

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

IComponentCallbacks2

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

IDialogInterface
IDialogInterfaceOnCancelListener

Interface used to allow the creator of a dialog to run some code when the dialog is canceled.

IDialogInterfaceOnClickListener

Interface used to allow the creator of a dialog to run some code when an item on the dialog is clicked.

IDialogInterfaceOnDismissListener

Interface used to allow the creator of a dialog to run some code when the dialog is dismissed.

IDialogInterfaceOnKeyListener

Interface definition for a callback to be invoked when a key event is dispatched to this dialog.

IDialogInterfaceOnMultiChoiceClickListener

Interface used to allow the creator of a dialog to run some code when an item in a multi-choice dialog is clicked.

IDialogInterfaceOnShowListener

Interface used to allow the creator of a dialog to run some code when the dialog is shown.

IntentSender.IOnFinished

Callback interface for discovering when a send operation has completed.

IServiceConnection

Interface for monitoring the state of an application service.

ISharedPreferences

Interface for accessing and modifying preference data returned by GetSharedPreferences(String, FileCreationMode).

ISharedPreferencesEditor

Interface used for modifying values in a ISharedPreferences object.

ISharedPreferencesOnSharedPreferenceChangeListener

Interface definition for a callback to be invoked when a shared preference is changed.

ISyncStatusObserver
Loader.IOnLoadCanceledListener

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

Loader.IOnLoadCompleteListener

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

Enums

ActivityFlags

Enumerates values returned by several types and taken as a parameter of several types.

Bind

Enumerates values returned by several methods of Bind

DatabaseMode
DialogButtonType

Enumerates values returned by several types.

DialogButtonTypeObsoleted

Enumerates values returned by several types.

ExtraDockState

Enumerates values returned by several methods of ExtraDockState.

FileCreationMode

Enumerates values returned by several types and taken as a parameter of several types.

FillInFlags

F:Android.Content.Intent.FillIn

IntentFilterPriority

Enumerates values returned by several types.

IntentUriType

Enumerates values returned by the UriIntentScheme, None, and Scheme members and taken as a parameter of the F:Android.Content.Intent.ParseUri, and F:Android.Content.Intent.ToUri members.

MatchResults
NotifyChangeFlags
PackageContextFlags
QuerySortDirection
RestrictionEntryType

F:Android.Content.RestrictionEntry..ctor

RestrictionResults

Enumerates values returned by several methods of RestrictionResults.

SyncObserverType
TrimMemory

Enumerates values returned by several types and taken as a parameter of several types.