Share via


DocumentsContract.FindDocumentPath(ContentResolver, Uri) Method

Definition

Finds the canonical path from the top of the document tree.

[Android.Runtime.Register("findDocumentPath", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Landroid/provider/DocumentsContract$Path;", "", ApiSince=26)]
public static Android.Provider.DocumentsContract.Path? FindDocumentPath (Android.Content.ContentResolver content, Android.Net.Uri treeUri);
[<Android.Runtime.Register("findDocumentPath", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Landroid/provider/DocumentsContract$Path;", "", ApiSince=26)>]
static member FindDocumentPath : Android.Content.ContentResolver * Android.Net.Uri -> Android.Provider.DocumentsContract.Path

Parameters

content
ContentResolver
treeUri
Uri

treeUri of the document which path is requested.

Returns

the path of the document, or null if failed.

Attributes

Remarks

Java documentation for android.provider.DocumentsContract.findDocumentPath(android.content.ContentResolver, android.net.Uri).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to