Table of Contents

Class DocumentsContract

Namespace
Android.Provider
Assembly
MASES.Netdroid.dll
public class DocumentsContract : JVMBridgeBase<DocumentsContract>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<DocumentsContract>
DocumentsContract
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<DocumentsContract>.IsAssignableFrom(IJavaType)
JVMBridgeBase<DocumentsContract>.IsAssignableFrom<T>()
JVMBridgeBase<DocumentsContract>.Execute<T>(params T[])
JVMBridgeBase<DocumentsContract>.DynBridgeClazz
JVMBridgeBase<DocumentsContract>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

DocumentsContract()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public DocumentsContract()

DocumentsContract(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public DocumentsContract(params object[] args)

Parameters

args object[]

Properties

ACTION_DOCUMENT_SETTINGS

public static String ACTION_DOCUMENT_SETTINGS { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

EXTRA_ERROR

public static String EXTRA_ERROR { get; }

Property Value

String

EXTRA_EXCLUDE_SELF

public static String EXTRA_EXCLUDE_SELF { get; }

Property Value

String

EXTRA_INFO

public static String EXTRA_INFO { get; }

Property Value

String

EXTRA_INITIAL_URI

public static String EXTRA_INITIAL_URI { get; }

Property Value

String

EXTRA_LOADING

public static String EXTRA_LOADING { get; }

Property Value

String

EXTRA_ORIENTATION

public static String EXTRA_ORIENTATION { get; }

Property Value

String

EXTRA_PROMPT

public static String EXTRA_PROMPT { get; }

Property Value

String

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

METADATA_EXIF

public static String METADATA_EXIF { get; }

Property Value

String

METADATA_TREE_COUNT

public static String METADATA_TREE_COUNT { get; }

Property Value

String

METADATA_TREE_SIZE

public static String METADATA_TREE_SIZE { get; }

Property Value

String

METADATA_TYPES

public static String METADATA_TYPES { get; }

Property Value

String

PROVIDER_INTERFACE

public static String PROVIDER_INTERFACE { get; }

Property Value

String

QUERY_ARG_DISPLAY_NAME

public static String QUERY_ARG_DISPLAY_NAME { get; }

Property Value

String

QUERY_ARG_EXCLUDE_MEDIA

public static String QUERY_ARG_EXCLUDE_MEDIA { get; }

Property Value

String

QUERY_ARG_FILE_SIZE_OVER

public static String QUERY_ARG_FILE_SIZE_OVER { get; }

Property Value

String

QUERY_ARG_LAST_MODIFIED_AFTER

public static String QUERY_ARG_LAST_MODIFIED_AFTER { get; }

Property Value

String

QUERY_ARG_MIME_TYPES

public static String QUERY_ARG_MIME_TYPES { get; }

Property Value

String

Methods

BuildChildDocumentsUri(String, String)

public static Uri BuildChildDocumentsUri(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

Uri

Uri

BuildChildDocumentsUriUsingTree(Uri, String)

public static Uri BuildChildDocumentsUriUsingTree(Uri arg0, String arg1)

Parameters

arg0 Uri

Uri

arg1 String

String

Returns

Uri

Uri

BuildDocumentUri(String, String)

public static Uri BuildDocumentUri(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

Uri

Uri

BuildDocumentUriUsingTree(Uri, String)

public static Uri BuildDocumentUriUsingTree(Uri arg0, String arg1)

Parameters

arg0 Uri

Uri

arg1 String

String

Returns

Uri

Uri

BuildRecentDocumentsUri(String, String)

public static Uri BuildRecentDocumentsUri(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

Uri

Uri

BuildRootUri(String, String)

public static Uri BuildRootUri(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

Uri

Uri

BuildRootsUri(String)

public static Uri BuildRootsUri(String arg0)

Parameters

arg0 String

String

Returns

Uri

Uri

BuildSearchDocumentsUri(String, String, String)

public static Uri BuildSearchDocumentsUri(String arg0, String arg1, String arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 String

String

Returns

Uri

Uri

BuildTreeDocumentUri(String, String)

public static Uri BuildTreeDocumentUri(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

Uri

Uri

CopyDocument(ContentResolver, Uri, Uri)

public static Uri CopyDocument(ContentResolver arg0, Uri arg1, Uri arg2)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

arg2 Uri

Uri

Returns

Uri

Uri

Exceptions

FileNotFoundException

CreateDocument(ContentResolver, Uri, String, String)

public static Uri CreateDocument(ContentResolver arg0, Uri arg1, String arg2, String arg3)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

arg2 String

String

arg3 String

String

Returns

Uri

Uri

Exceptions

FileNotFoundException

CreateWebLinkIntent(ContentResolver, Uri, Bundle)

public static IntentSender CreateWebLinkIntent(ContentResolver arg0, Uri arg1, Bundle arg2)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

arg2 Bundle

Bundle

Returns

IntentSender

IntentSender

Exceptions

FileNotFoundException

DeleteDocument(ContentResolver, Uri)

public static bool DeleteDocument(ContentResolver arg0, Uri arg1)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

Returns

bool

bool

Exceptions

FileNotFoundException

EjectRoot(ContentResolver, Uri)

public static void EjectRoot(ContentResolver arg0, Uri arg1)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

FindDocumentPath(ContentResolver, Uri)

public static DocumentsContract.Path FindDocumentPath(ContentResolver arg0, Uri arg1)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

Returns

DocumentsContract.Path

DocumentsContract.Path

Exceptions

FileNotFoundException

GetDocumentId(Uri)

public static String GetDocumentId(Uri arg0)

Parameters

arg0 Uri

Uri

Returns

String

String

GetDocumentMetadata(ContentResolver, Uri)

public static Bundle GetDocumentMetadata(ContentResolver arg0, Uri arg1)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

Returns

Bundle

Bundle

Exceptions

FileNotFoundException

GetDocumentThumbnail(ContentResolver, Uri, Point, CancellationSignal)

public static Bitmap GetDocumentThumbnail(ContentResolver arg0, Uri arg1, Point arg2, CancellationSignal arg3)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

arg2 Point

Point

arg3 CancellationSignal

CancellationSignal

Returns

Bitmap

Bitmap

Exceptions

FileNotFoundException

GetRootId(Uri)

public static String GetRootId(Uri arg0)

Parameters

arg0 Uri

Uri

Returns

String

String

GetSearchDocumentsQuery(Uri)

public static String GetSearchDocumentsQuery(Uri arg0)

Parameters

arg0 Uri

Uri

Returns

String

String

GetTreeDocumentId(Uri)

public static String GetTreeDocumentId(Uri arg0)

Parameters

arg0 Uri

Uri

Returns

String

String

IsChildDocument(ContentResolver, Uri, Uri)

public static bool IsChildDocument(ContentResolver arg0, Uri arg1, Uri arg2)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

arg2 Uri

Uri

Returns

bool

bool

Exceptions

FileNotFoundException

IsDocumentUri(Context, Uri)

public static bool IsDocumentUri(Context arg0, Uri arg1)

Parameters

arg0 Context

Context

arg1 Uri

Uri

Returns

bool

bool

IsRootUri(Context, Uri)

public static bool IsRootUri(Context arg0, Uri arg1)

Parameters

arg0 Context

Context

arg1 Uri

Uri

Returns

bool

bool

IsRootsUri(Context, Uri)

public static bool IsRootsUri(Context arg0, Uri arg1)

Parameters

arg0 Context

Context

arg1 Uri

Uri

Returns

bool

bool

IsTreeUri(Uri)

public static bool IsTreeUri(Uri arg0)

Parameters

arg0 Uri

Uri

Returns

bool

bool

MoveDocument(ContentResolver, Uri, Uri, Uri)

public static Uri MoveDocument(ContentResolver arg0, Uri arg1, Uri arg2, Uri arg3)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

arg2 Uri

Uri

arg3 Uri

Uri

Returns

Uri

Uri

Exceptions

FileNotFoundException

RemoveDocument(ContentResolver, Uri, Uri)

public static bool RemoveDocument(ContentResolver arg0, Uri arg1, Uri arg2)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

arg2 Uri

Uri

Returns

bool

bool

Exceptions

FileNotFoundException

RenameDocument(ContentResolver, Uri, String)

public static Uri RenameDocument(ContentResolver arg0, Uri arg1, String arg2)

Parameters

arg0 ContentResolver

ContentResolver

arg1 Uri

Uri

arg2 String

String

Returns

Uri

Uri

Exceptions

FileNotFoundException