EmbeddedPhotoPickerFeatureInfo.Builder.SetRequestLocationMetadata 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.
The app can request access to the location metadata of the media items selected by the user.
[Android.Runtime.Register("setRequestLocationMetadata", "(Z)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=37)]
public Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder SetRequestLocationMetadata(bool accessLocationMetadata);
[<Android.Runtime.Register("setRequestLocationMetadata", "(Z)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=37)>]
member this.SetRequestLocationMetadata : bool -> Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder
Parameters
- accessLocationMetadata
- Boolean
boolean value indicating location access request
Returns
This builder with the location metadata request setting updated.
- Attributes
Remarks
The app can request access to the location metadata of the media items selected by the user.
This is indicated by a boolean value which when set to true informs the picker that the app is requesting location information for the media items selected by the user. The default value for this option will always be false i.e. not sharing the location metadata of the selected media items with the calling app.
Setting this option to true does not guarantee that the calling app will get the location information. The media items selected by the user may not have any location metadata associated with them at all. The picker also reserves the right to inform the user of this request and the user's choice to share the location information will be final. The calling app will not be able to get the requested data in both these cases.
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.