Udostępnij za pośrednictwem


DocumentsContract.BuildRootUri(String, String) Method

Definition

Build URI representing the given Root#COLUMN_ROOT_ID in a document provider.

[Android.Runtime.Register("buildRootUri", "(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "")]
public static Android.Net.Uri? BuildRootUri (string? authority, string? rootId);
[<Android.Runtime.Register("buildRootUri", "(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "")>]
static member BuildRootUri : string * string -> Android.Net.Uri

Parameters

authority
String
rootId
String

Returns

Uri
Attributes

Remarks

Build URI representing the given Root#COLUMN_ROOT_ID in a document provider.

Java documentation for android.provider.DocumentsContract.buildRootUri(java.lang.String, java.lang.String).

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

See also