The members of Android.Content.ContentResolver are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | AnyCursorItemType | string. This is the Android platform's generic MIME type to match any MIME type of the form "ContentResolver.CursorItemBaseType/SUB_TYPE". |
const | CursorDirBaseType | string. This is the Android platform's base MIME type for a content: URI containing a Cursor of zero or more items. |
const | CursorItemBaseType | string. This is the Android platform's base MIME type for a content: URI containing a Cursor of a single item. |
const | ExtraSize | string. An extra Android.Graphics.Point describing the optimal size for a requested image resource, in pixels. |
const | SchemeAndroidResource | string. |
const | SchemeContent | string. |
const | SchemeFile | string. |
const | SyncExtrasAccount | string. |
const | SyncExtrasDiscardLocalDeletions | string. Indicates that the sync adapter should not proceed with the delete operations, if it determines that there are too many. |
const | SyncExtrasDoNotRetry | string. If this extra is set to true then the request will not be retried if it fails. |
const | SyncExtrasExpedited | string. If this extra is set to true, the sync request will be scheduled at the front of the sync request queue and without any delay |
const | SyncExtrasForce | string. |
const | SyncExtrasIgnoreBackoff | string. If this extra is set to true then any backoffs for the initial attempt (e.g. due to retries) are ignored by the sync scheduler. |
const | SyncExtrasIgnoreSettings | string. If this extra is set to true then the sync settings (like getSyncAutomatically()) are ignored by the sync scheduler. |
const | SyncExtrasInitialize | string. Set by the SyncManager to request that the SyncAdapter initialize itself for the given account/authority pair. |
const | SyncExtrasManual | string. Setting this extra is the equivalent of setting both ContentResolver.SyncExtrasIgnoreSettings and ContentResolver.SyncExtrasIgnoreBackoff |
const | SyncExtrasOverrideTooManyDeletions | string. Indicates that the sync adapter should proceed with the delete operations, even if it determines that there are too many. |
const | SyncExtrasUpload | string. Indicates that this sync is intended to only upload local changes to the server. |
const | SyncObserverTypeActive | SyncObserverType (4). |
const | SyncObserverTypePending | SyncObserverType (2). |
const | SyncObserverTypeSettings | SyncObserverType (1). |
[read-only] static | CurrentSync | SyncInfo. If a sync is active returns the information about it, otherwise returns null. |
[read-only] static | CurrentSyncs | IList<SyncInfo>. Returns a list with information about all the active syncs. |
static | MasterSyncAutomatically | bool. Gets the master auto-sync setting that applies to all the providers and accounts. |
[read-only] | OutgoingPersistedUriPermissions | IList<UriPermission>. Return list of all persisted URI permission grants that are hosted by the calling app. |
[read-only] | PersistedUriPermissions | IList<UriPermission>. Return list of all URI permission grants that have been persisted by the calling app. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
AcquireContentProviderClient(Android.Net.Uri)Returns a Android.Content.ContentProviderClient that is associated with the Android.Content.ContentProvider that services the content at uri, starting the provider if necessary. | ||
AcquireContentProviderClient(string)Returns a Android.Content.ContentProviderClient that is associated with the Android.Content.ContentProvider with the authority of name, starting the provider if necessary. | ||
AcquireUnstableContentProviderClient(Android.Net.Uri)Like ContentResolver.AcquireContentProviderClient(Android.Net.Uri), but for use when you do not trust the stability of the target content provider. | ||
AcquireUnstableContentProviderClient(string)Like ContentResolver.AcquireContentProviderClient(string), but for use when you do not trust the stability of the target content provider. | ||
static | AddPeriodicSync(Android.Accounts.Account, string, Android.OS.Bundle, long)Specifies that a sync should be requested with the specified the account, authority, and extras at the given frequency. | |
static | AddStatusChangeListener(SyncObserverType, ISyncStatusObserver)Request notifications when the different aspects of the SyncManager change. | |
ApplyBatch(string, IList<ContentProviderOperation>)Documentation for this section has not yet been entered. | ||
BulkInsert(Android.Net.Uri, ContentValues[])Inserts multiple rows into a table at the given URL. | ||
Call(Android.Net.Uri, string, string, Android.OS.Bundle)Call a provider-defined method. | ||
static | CancelSync(SyncRequest)Remove the specified sync. | |
CancelSync(Android.Net.Uri)Cancel any active or pending syncs that match the Uri. | ||
static | CancelSync(Android.Accounts.Account, string)Cancel any active or pending syncs that match account and authority. | |
Canonicalize(Android.Net.Uri)Transform the given url to a canonical representation of its referenced resource, which can be used across devices, persisted, backed up and restored, etc. | ||
Delete(Android.Net.Uri, string, string[])Deletes row(s) specified by a content URI. | ||
static | GetIsSyncable(Android.Accounts.Account, string)Check if this account/provider is syncable. | |
static | GetPeriodicSyncs(Android.Accounts.Account, string)Get the list of information about the periodic syncs for the given account and authority. | |
GetStreamTypes(Android.Net.Uri, string)Query for the possible MIME types for the representations the given content URL can be returned when opened as as stream with ContentResolver.OpenTypedAssetFileDescriptor(Android.Net.Uri, System.String, System.String). | ||
static | GetSyncAdapterTypes()Get information about the SyncAdapters that are known to the system. | |
static | GetSyncAutomatically(Android.Accounts.Account, string)Check if the provider should be synced when a network tickle is received | |
GetType(Android.Net.Uri)Return the MIME type of the given content URL. | ||
Insert(Android.Net.Uri, ContentValues)Inserts a row into a table at the given URL. | ||
static | IsSyncActive(Android.Accounts.Account, string)Returns true if there is currently a sync operation for the given account or authority actively being processed. | |
static | IsSyncPending(Android.Accounts.Account, string)Return true if the pending status is true of any matching authorities. | |
NotifyChange(Android.Net.Uri, Android.Database.ContentObserver)Notify registered observers that a row was updated and attempt to sync changes to the network. | ||
NotifyChange(Android.Net.Uri, Android.Database.ContentObserver, bool)Notify registered observers that a row was updated. | ||
OpenAssetFileDescriptor(Android.Net.Uri, string)Open a raw file descriptor to access data under a URI. | ||
OpenAssetFileDescriptor(Android.Net.Uri, string, Android.OS.CancellationSignal)Open a raw file descriptor to access data under a URI. | ||
OpenFileDescriptor(Android.Net.Uri, string)Open a raw file descriptor to access data under a URI. | ||
OpenFileDescriptor(Android.Net.Uri, string, Android.OS.CancellationSignal)Open a raw file descriptor to access data under a URI. | ||
OpenInputStream(Android.Net.Uri)Open a stream on to the content associated with a content URI. | ||
OpenOutputStream(Android.Net.Uri)Synonym for ContentResolver.OpenOutputStream(Android.Net.Uri, System.String). | ||
OpenOutputStream(Android.Net.Uri, string)Open a stream on to the content associated with a content URI. | ||
OpenTypedAssetFileDescriptor(Android.Net.Uri, string, Android.OS.Bundle)Open a raw file descriptor to access (potentially type transformed) data from a "content:" URI. | ||
OpenTypedAssetFileDescriptor(Android.Net.Uri, string, Android.OS.Bundle, Android.OS.CancellationSignal)Open a raw file descriptor to access (potentially type transformed) data from a "content:" URI. | ||
Query(Android.Net.Uri, string[], string, string[], string)Query the given URI, returning a Android.Database.ICursor over the result set. | ||
Query(Android.Net.Uri, string[], string, string[], string, Android.OS.CancellationSignal)Query the given URI, returning a Android.Database.ICursor over the result set with optional support for cancellation. | ||
RegisterContentObserver(Android.Net.Uri, bool, Android.Database.ContentObserver)Register an observer class that gets callbacks when data identified by a given content URI changes. | ||
ReleasePersistableUriPermission(Android.Net.Uri, ActivityFlags)Relinquish a persisted URI permission grant. | ||
static | RemovePeriodicSync(Android.Accounts.Account, string, Android.OS.Bundle)Remove a periodic sync. | |
static | RemoveStatusChangeListener(Java.Lang.Object)Remove a previously registered status change listener. | |
static | RequestSync(SyncRequest)Register a sync with the SyncManager. | |
static | RequestSync(Android.Accounts.Account, string, Android.OS.Bundle)Start an asynchronous sync operation. | |
static | SetIsSyncable(Android.Accounts.Account, string, int)Set whether this account/provider is syncable. | |
static | SetSyncAutomatically(Android.Accounts.Account, string, bool)Set whether or not the provider is synced when it receives a network tickle. | |
StartSync(Android.Net.Uri, Android.OS.Bundle)Start an asynchronous sync operation. | ||
TakePersistableUriPermission(Android.Net.Uri, ActivityFlags)Take a persistable URI permission grant that has been offered. | ||
Uncanonicalize(Android.Net.Uri)Given a canonical Uri previously generated by ContentResolver.Canonicalize(Android.Net.Uri), convert it to its local non-canonical form. | ||
UnregisterContentObserver(Android.Database.ContentObserver)Unregisters a change observer. | ||
Update(Android.Net.Uri, ContentValues, string, string[])Update row(s) in a content URI. | ||
static | ValidateSyncExtrasBundle(Android.OS.Bundle)Check that only values of the following types are in the Bundle: |