MediaStore.QueryArgLatestSelectionOnly 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 indicates if only the latest selection in the photoPicker for the calling app should be returned.
[Android.Runtime.Register("QUERY_ARG_LATEST_SELECTION_ONLY", ApiSince=35)]
public const string QueryArgLatestSelectionOnly;
[<Android.Runtime.Register("QUERY_ARG_LATEST_SELECTION_ONLY", ApiSince=35)>]
val mutable QueryArgLatestSelectionOnly : string
Field Value
- Attributes
Remarks
Flag that indicates if only the latest selection in the photoPicker for the calling app should be returned. If set to true, all items that were granted to the calling app in the last selection are returned.
Selection in this scenario refers to when the user selects items in <b> the permission prompt photo picker</b>. The access for these items is granted to the calling app and these grants are persisted unless the user deselects a granted item explicitly.
The result excludes items owned by the calling app unless they are explicitly selected by the user.
Note: If there has been no user selections after the introduction of this feature then all the granted items will be returned.
This key can be placed in a Bundle
of extras and passed to ContentResolver#query
.
Java documentation for android.provider.MediaStore.QUERY_ARG_LATEST_SELECTION_ONLY
.
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.