共用方式為


DocumentsContract.BuildRootsUri(String) Method

Definition

Build URI representing the roots of a document provider.

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

Parameters

authority
String

Returns

Uri
Attributes

Remarks

Build URI representing the roots of a document provider. When queried, a provider will return one or more rows with columns defined by Root.

Java documentation for android.provider.DocumentsContract.buildRootsUri(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