DocumentsContract.BuildRecentDocumentsUri(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Build URI representing the recently modified documents of a specific root in a document provider.
[Android.Runtime.Register("buildRecentDocumentsUri", "(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "")]
public static Android.Net.Uri? BuildRecentDocumentsUri(string? authority, string? rootId);
[<Android.Runtime.Register("buildRecentDocumentsUri", "(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "")>]
static member BuildRecentDocumentsUri : 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
A content URI for recently modified documents under the specified root.
- Attributes
Remarks
Build URI representing the recently modified documents of a specific root in a document provider. When queried, a provider will return zero or more rows with columns defined by Document.
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
- <xref:Android.Provider.DocumentsProvider.QueryRecentDocuments(System.String%2c+System.String%5b%5d)>
- GetRootId(Uri)