MediaSync.IOnErrorListener.OnError Method

Definition

Called to indicate an error.

[Android.Runtime.Register("onError", "(Landroid/media/MediaSync;II)V", "GetOnError_Landroid_media_MediaSync_IIHandler:Android.Media.MediaSync/IOnErrorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public void OnError (Android.Media.MediaSync sync, Android.Media.MediaSyncErrorCode what, int extra);
[<Android.Runtime.Register("onError", "(Landroid/media/MediaSync;II)V", "GetOnError_Landroid_media_MediaSync_IIHandler:Android.Media.MediaSync/IOnErrorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member OnError : Android.Media.MediaSync * Android.Media.MediaSyncErrorCode * int -> unit

Parameters

sync
MediaSync

The MediaSync the error pertains to

what
MediaSyncErrorCode

The type of error that has occurred: <ul> <li>#MEDIASYNC_ERROR_AUDIOTRACK_FAIL<li>#MEDIASYNC_ERROR_SURFACE_FAIL</ul>

extra
Int32

an extra code, specific to the error. Typically implementation dependent.

Attributes

Remarks

Called to indicate an error.

Java documentation for android.media.MediaSync.OnErrorListener.onError(android.media.MediaSync, int, int).

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