Android.Provider.DocumentsContract Members

The members of Android.Provider.DocumentsContract are listed below.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
ExtraErrorstring. Optional string included in a directory Android.Database.ICursor.Extras providing an error message that should be shown to a user.
const
ExtraInfostring. Optional string included in a directory Android.Database.ICursor.Extras providing an informational message that should be shown to a user.
const
ExtraLoadingstring. Optional boolean flag included in a directory Android.Database.ICursor.Extras indicating that a document provider is still loading data.
const
ProviderInterfacestring. Intent action used to identify Android.Provider.DocumentsProvider instances.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
BuildChildDocumentsUri(string, string) : Android.Net.Uri
Build URI representing the children of the target directory in a document provider.
static
BuildChildDocumentsUriUsingTree(Android.Net.Uri, string) : Android.Net.Uri
Build URI representing the children of the target directory in a document provider.
static
BuildDocumentUri(string, string) : Android.Net.Uri
Build URI representing the target NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#COLUMN_DOCUMENT_ID in a document provider.
static
BuildDocumentUriUsingTree(Android.Net.Uri, string) : Android.Net.Uri
Build URI representing the target NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#COLUMN_DOCUMENT_ID in a document provider.
static
BuildRecentDocumentsUri(string, string) : Android.Net.Uri
Build URI representing the recently modified documents of a specific root in a document provider.
static
BuildRootsUri(string) : Android.Net.Uri
Build URI representing the roots of a document provider.
static
BuildRootUri(string, string) : Android.Net.Uri
Build URI representing the given NoType:android/provider/DocumentsContract$Root;Href=../../../reference/android/provider/DocumentsContract.Root.html#COLUMN_ROOT_ID in a document provider.
static
BuildSearchDocumentsUri(string, string, string) : Android.Net.Uri
Build URI representing a search for matching documents under a specific root in a document provider.
static
BuildTreeDocumentUri(string, string) : Android.Net.Uri
Build URI representing access to descendant documents of the given NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#COLUMN_DOCUMENT_ID.
static
CreateDocument(Android.Content.ContentResolver, Android.Net.Uri, string, string) : Android.Net.Uri
Create a new document with given MIME type and display name.
static
DeleteDocument(Android.Content.ContentResolver, Android.Net.Uri) : bool
Delete the given document.
static
GetDocumentId(Android.Net.Uri) : string
Extract the NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#COLUMN_DOCUMENT_ID from the given URI.
static
GetDocumentThumbnail(Android.Content.ContentResolver, Android.Net.Uri, Android.Graphics.Point, Android.OS.CancellationSignal) : Android.Graphics.Bitmap
Return thumbnail representing the document at the given URI.
static
GetRootId(Android.Net.Uri) : string
Extract the NoType:android/provider/DocumentsContract$Root;Href=../../../reference/android/provider/DocumentsContract.Root.html#COLUMN_ROOT_ID from the given URI.
static
GetSearchDocumentsQuery(Android.Net.Uri) : string
Extract the search query from a URI built by DocumentsContract.BuildSearchDocumentsUri(string, System.String, System.String).
static
GetTreeDocumentId(Android.Net.Uri) : string
Extract the via NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#COLUMN_DOCUMENT_ID from the given URI.
static
IsDocumentUri(Android.Content.Context, Android.Net.Uri) : bool
Test if the given URI represents a NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html backed by a Android.Provider.DocumentsProvider.
static
RenameDocument(Android.Content.ContentResolver, Android.Net.Uri, string) : Android.Net.Uri
Change the display name of an existing document.