MediaStore.QueryArgIncludeRecentlyUnmountedVolumes Field
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.
Flag that requests ContentResolver#query
to include content from
recently unmounted volumes.
[Android.Runtime.Register("QUERY_ARG_INCLUDE_RECENTLY_UNMOUNTED_VOLUMES", ApiSince=31)]
public const string QueryArgIncludeRecentlyUnmountedVolumes;
[<Android.Runtime.Register("QUERY_ARG_INCLUDE_RECENTLY_UNMOUNTED_VOLUMES", ApiSince=31)>]
val mutable QueryArgIncludeRecentlyUnmountedVolumes : string
Field Value
- Attributes
Remarks
Flag that requests ContentResolver#query
to include content from recently unmounted volumes.
When the flag is set, ContentResolver#query
will return content from all volumes(i.e., both mounted and recently unmounted volume whose content is still held by MediaProvider).
Note that the query result doesn't provide any hint for content from unmounted volume. It's strongly recommended to use default query to avoid accessing/operating on the content that are not available on the device.
The flag is useful for apps which manage their own database and query MediaStore in order to synchronize between MediaStore database and their own database.
Java documentation for android.provider.MediaStore.QUERY_ARG_INCLUDE_RECENTLY_UNMOUNTED_VOLUMES
.
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.