IEmbeddedPhotoPickerClient.OnSessionError(Throwable) Method

Definition

Reports that terminal error has occurred in the session.

[Android.Runtime.Register("onSessionError", "(Ljava/lang/Throwable;)V", "GetOnSessionError_Ljava_lang_Throwable_Handler:Android.Widget.PhotoPicker.IEmbeddedPhotoPickerClientInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)]
public void OnSessionError(Java.Lang.Throwable cause);
[<Android.Runtime.Register("onSessionError", "(Ljava/lang/Throwable;)V", "GetOnSessionError_Ljava_lang_Throwable_Handler:Android.Widget.PhotoPicker.IEmbeddedPhotoPickerClientInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)>]
abstract member OnSessionError : Java.Lang.Throwable -> unit

Parameters

cause
Throwable
Attributes

Remarks

Reports that terminal error has occurred in the session. Any further events notified on this session will be ignored. The embedded photopicker view will be torn down along with session upon error.

Java documentation for android.widget.photopicker.EmbeddedPhotoPickerClient.onSessionError(java.lang.Throwable).

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