IEmbeddedPhotoPickerClient.OnUriPermissionGranted(IList<Uri>) Method

Definition

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

uris
IList<Uri>
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.

Java documentation for android.widget.photopicker.EmbeddedPhotoPickerClient.onUriPermissionGranted(java.util.List<android.net.Uri>).

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.

Applies to