IEmbeddedPhotoPickerClient.OnUriPermissionGranted(IList<Uri>) 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.
Reports that URI permission has been granted to the item selected by the user.
[Android.Runtime.Register("onUriPermissionGranted", "(Ljava/util/List;)V", "GetOnUriPermissionGranted_Ljava_util_List_Handler:Android.Widget.PhotoPicker.IEmbeddedPhotoPickerClientInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)]
public void OnUriPermissionGranted(System.Collections.Generic.IList<Android.Net.Uri> uris);
[<Android.Runtime.Register("onUriPermissionGranted", "(Ljava/util/List;)V", "GetOnUriPermissionGranted_Ljava_util_List_Handler:Android.Widget.PhotoPicker.IEmbeddedPhotoPickerClientInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)>]
abstract member OnUriPermissionGranted : System.Collections.Generic.IList<Android.Net.Uri> -> unit
Parameters
- Attributes
Remarks
Reports that URI permission has been granted to the item selected by the user.
It is possible that the permission to the URI was revoked if the item was unselected by user before the URI is actually accessed by the caller. Hence callers must handle SecurityException
when attempting to read or use the URI in response to this callback.
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.