MediaStore.QueryDeletedFiles 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.
Returns a cursor of deleted items matching the given query arguments.
[Android.Runtime.Register("queryDeletedFiles", "(Landroid/content/ContentResolver;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor;", "", ApiSince=37)]
public static Android.Database.ICursor? QueryDeletedFiles(Android.Content.ContentResolver resolver, Android.OS.Bundle? queryArgs, Android.OS.CancellationSignal? signal);
[<Android.Runtime.Register("queryDeletedFiles", "(Landroid/content/ContentResolver;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor;", "", ApiSince=37)>]
static member QueryDeletedFiles : Android.Content.ContentResolver * Android.OS.Bundle * Android.OS.CancellationSignal -> Android.Database.ICursor
Parameters
- resolver
- ContentResolver
The ContentResolver to use for the call.
- queryArgs
- Bundle
Arguments for the query. Supported arguments include
ContentResolver#QUERY_ARG_SQL_SELECTION,
ContentResolver#QUERY_ARG_SQL_SELECTION_ARGS,
ContentResolver#QUERY_ARG_SQL_SORT_ORDER,
ContentResolver#QUERY_ARG_LIMIT, and
ContentResolver#QUERY_ARG_OFFSET. The selection and sort order can
filter and sort on any of the columns defined in
DeletedFiles.DeletedFilesColumns.
- signal
- CancellationSignal
A cancellation signal to cancel the operation in progress.
Returns
A cursor of deleted items, or null if the operation failed.
- Attributes