DocumentsProvider.QueryTrashDocuments 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.
[Android.Runtime.Register("queryTrashDocuments", "(Ljava/lang/String;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor;", "GetQueryTrashDocuments_Ljava_lang_String_arrayLjava_lang_String_Landroid_os_Bundle_Landroid_os_CancellationSignal_Handler", ApiSince=37)]
public virtual Android.Database.ICursor? QueryTrashDocuments(string rootId, string[]? projection, Android.OS.Bundle? queryArgs, Android.OS.CancellationSignal? signal);
[<Android.Runtime.Register("queryTrashDocuments", "(Ljava/lang/String;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor;", "GetQueryTrashDocuments_Ljava_lang_String_arrayLjava_lang_String_Landroid_os_Bundle_Landroid_os_CancellationSignal_Handler", ApiSince=37)>]
abstract member QueryTrashDocuments : string * string[] * Android.OS.Bundle * Android.OS.CancellationSignal -> Android.Database.ICursor
override this.QueryTrashDocuments : string * string[] * Android.OS.Bundle * Android.OS.CancellationSignal -> Android.Database.ICursor
Parameters
- rootId
- String
the root to return trash items for.
- projection
- String[]
list of Document columns to put into the cursor. If null
all supported columns should be included.
- queryArgs
- Bundle
the extra query arguments.
- signal
- CancellationSignal
used by the caller to signal if the request should be cancelled. May be null.
Returns
a cursor of trashed documents. This will be called for each provider (for local just externalstorage provider) and combine the results.
- Attributes