Android.Provider.DocumentsProvider.QueryRecentDocuments Method
Return recently modified documents under the requested root.

Syntax

[Android.Runtime.Register("queryRecentDocuments", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;", "GetQueryRecentDocuments_Ljava_lang_String_arrayLjava_lang_String_Handler")]
public virtual Android.Database.ICursor QueryRecentDocuments (string rootId, string[] projection)

See Also

DocumentsContract.ExtraLoading

Parameters

rootId
Documentation for this section has not yet been entered.
projection
list of NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html columns to put into the cursor. If null all supported columns should be included.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.FileNotFoundException

Remarks

Return recently modified documents under the requested root. This will only be called for roots that advertise NoType:android/provider/DocumentsContract$Root;Href=../../../reference/android/provider/DocumentsContract.Root.html#FLAG_SUPPORTS_RECENTS. The returned documents should be sorted by NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#COLUMN_LAST_MODIFIED in descending order, and limited to only return the 64 most recently modified documents.

Recent documents do not support change notifications.

[Android Documentation]

Requirements

Namespace: Android.Provider
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0