Table of Contents

Class DocumentsProvider

Namespace
Android.Provider
Assembly
MASES.Netdroid.dll
public class DocumentsProvider : ContentProvider, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IComponentCallbacks2, IComponentCallbacks
Inheritance
DocumentsProvider
Implements
Inherited Members
Extension Methods

Constructors

DocumentsProvider()

public DocumentsProvider()

DocumentsProvider(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public DocumentsProvider(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CopyDocument(String, String)

public String CopyDocument(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

String

String

Exceptions

FileNotFoundException

CreateDocument(String, String, String)

public String CreateDocument(String arg0, String arg1, String arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 String

String

Returns

String

String

Exceptions

FileNotFoundException

CreatePoolableInstance()

HPA initializer for DocumentsProvider()

public static DocumentsProvider CreatePoolableInstance()

Returns

DocumentsProvider

CreateWebLinkIntent(String, Bundle)

public IntentSender CreateWebLinkIntent(String arg0, Bundle arg1)

Parameters

arg0 String

String

arg1 Bundle

Bundle

Returns

IntentSender

IntentSender

Exceptions

FileNotFoundException

DeleteDocument(String)

public void DeleteDocument(String arg0)

Parameters

arg0 String

String

Exceptions

FileNotFoundException

EjectRoot(String)

public void EjectRoot(String arg0)

Parameters

arg0 String

String

FindDocumentPath(String, String)

public DocumentsContract.Path FindDocumentPath(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

DocumentsContract.Path

DocumentsContract.Path

Exceptions

FileNotFoundException

GetDocumentMetadata(String)

public Bundle GetDocumentMetadata(String arg0)

Parameters

arg0 String

String

Returns

Bundle

Bundle

Exceptions

FileNotFoundException

GetDocumentStreamTypes(String, String)

public String[] GetDocumentStreamTypes(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

String[]

String

GetDocumentType(String)

public String GetDocumentType(String arg0)

Parameters

arg0 String

String

Returns

String

String

Exceptions

FileNotFoundException

IsChildDocument(String, String)

public bool IsChildDocument(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

bool

bool

MoveDocument(String, String, String)

public String MoveDocument(String arg0, String arg1, String arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 String

String

Returns

String

String

Exceptions

FileNotFoundException

OpenDocument(String, String, CancellationSignal)

public ParcelFileDescriptor OpenDocument(String arg0, String arg1, CancellationSignal arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 CancellationSignal

CancellationSignal

Returns

ParcelFileDescriptor

ParcelFileDescriptor

Exceptions

FileNotFoundException

OpenDocumentThumbnail(String, Point, CancellationSignal)

public AssetFileDescriptor OpenDocumentThumbnail(String arg0, Point arg1, CancellationSignal arg2)

Parameters

arg0 String

String

arg1 Point

Point

arg2 CancellationSignal

CancellationSignal

Returns

AssetFileDescriptor

AssetFileDescriptor

Exceptions

FileNotFoundException

OpenTypedDocument(String, String, Bundle, CancellationSignal)

public AssetFileDescriptor OpenTypedDocument(String arg0, String arg1, Bundle arg2, CancellationSignal arg3)

Parameters

arg0 String

String

arg1 String

String

arg2 Bundle

Bundle

arg3 CancellationSignal

CancellationSignal

Returns

AssetFileDescriptor

AssetFileDescriptor

Exceptions

FileNotFoundException

QueryChildDocuments(String, String[], Bundle)

public Cursor QueryChildDocuments(String arg0, String[] arg1, Bundle arg2)

Parameters

arg0 String

String

arg1 String[]

String

arg2 Bundle

Bundle

Returns

Cursor

Cursor

Exceptions

FileNotFoundException

QueryChildDocuments(String, String[], String)

public Cursor QueryChildDocuments(String arg0, String[] arg1, String arg2)

Parameters

arg0 String

String

arg1 String[]

String

arg2 String

String

Returns

Cursor

Cursor

Exceptions

FileNotFoundException

QueryDocument(String, String[])

public Cursor QueryDocument(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

Cursor

Cursor

Exceptions

FileNotFoundException

QueryRecentDocuments(String, String[])

public Cursor QueryRecentDocuments(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

Cursor

Cursor

Exceptions

FileNotFoundException

QueryRecentDocuments(String, String[], Bundle, CancellationSignal)

public Cursor QueryRecentDocuments(String arg0, String[] arg1, Bundle arg2, CancellationSignal arg3)

Parameters

arg0 String

String

arg1 String[]

String

arg2 Bundle

Bundle

arg3 CancellationSignal

CancellationSignal

Returns

Cursor

Cursor

Exceptions

FileNotFoundException

QueryRoots(String[])

public Cursor QueryRoots(String[] arg0)

Parameters

arg0 String[]

String

Returns

Cursor

Cursor

Exceptions

FileNotFoundException

QuerySearchDocuments(String, String, String[])

public Cursor QuerySearchDocuments(String arg0, String arg1, String[] arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 String[]

String

Returns

Cursor

Cursor

Exceptions

FileNotFoundException

QuerySearchDocuments(String, String[], Bundle)

public Cursor QuerySearchDocuments(String arg0, String[] arg1, Bundle arg2)

Parameters

arg0 String

String

arg1 String[]

String

arg2 Bundle

Bundle

Returns

Cursor

Cursor

Exceptions

FileNotFoundException

RemoveDocument(String, String)

public void RemoveDocument(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

FileNotFoundException

RenameDocument(String, String)

public String RenameDocument(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

String

String

Exceptions

FileNotFoundException

RevokeDocumentPermission(String)

public void RevokeDocumentPermission(String arg0)

Parameters

arg0 String

String