Language

DocumentsContract.BuildTrashDocumentsUri(String, String) Method

Definition

Returns URI representing the query trash documents of a specific document provider.

[Android.Runtime.Register("buildTrashDocumentsUri", "(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "", ApiSince=37)]
public static Android.Net.Uri BuildTrashDocumentsUri(string authority, string rootId);
[<Android.Runtime.Register("buildTrashDocumentsUri", "(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "", ApiSince=37)>]
static member BuildTrashDocumentsUri : string * string -> Android.Net.Uri

Parameters

authority
String

The authority assigned to the URI for the target documents provider.

rootId
String

The provider's root identifier, encoded as a URI path segment.

Returns

Uri

A content URI for trashed documents under the specified root.

Attributes

Remarks

Returns URI representing the query trash documents of a specific document provider.

Android reference for android.provider.DocumentsContract.buildTrashDocumentsUri.

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