Język

MediaCodec.Callback.OnError(MediaCodec, MediaCodec+CodecException) Method

Definition

Called when the MediaCodec encountered an error

[Android.Runtime.Register("onError", "(Landroid/media/MediaCodec;Landroid/media/MediaCodec$CodecException;)V", "GetOnError_Landroid_media_MediaCodec_Landroid_media_MediaCodec_CodecException_Handler")]
public abstract void OnError(Android.Media.MediaCodec codec, Android.Media.MediaCodec.CodecException e);
[<Android.Runtime.Register("onError", "(Landroid/media/MediaCodec;Landroid/media/MediaCodec$CodecException;)V", "GetOnError_Landroid_media_MediaCodec_Landroid_media_MediaCodec_CodecException_Handler")>]
abstract member OnError : Android.Media.MediaCodec * Android.Media.MediaCodec.CodecException -> unit

Parameters

codec
MediaCodec

The MediaCodec object. This value cannot be null.

e
MediaCodec.CodecException

The MediaCodec.CodecException object describing the error. This value cannot be null.

Attributes

Remarks

Called when the MediaCodec encountered an error

Android reference for android.media.MediaCodec.Callback.onError.

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