MediaCodec.Callback.OnError(MediaCodec, MediaCodec+CodecException) 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.
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.
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.