Share via


MediaCodec.Callback.OnOutputFormatChanged(MediaCodec, MediaFormat) Method

Definition

Called when the output format has changed

[Android.Runtime.Register("onOutputFormatChanged", "(Landroid/media/MediaCodec;Landroid/media/MediaFormat;)V", "GetOnOutputFormatChanged_Landroid_media_MediaCodec_Landroid_media_MediaFormat_Handler")]
public abstract void OnOutputFormatChanged (Android.Media.MediaCodec codec, Android.Media.MediaFormat format);
[<Android.Runtime.Register("onOutputFormatChanged", "(Landroid/media/MediaCodec;Landroid/media/MediaFormat;)V", "GetOnOutputFormatChanged_Landroid_media_MediaCodec_Landroid_media_MediaFormat_Handler")>]
abstract member OnOutputFormatChanged : Android.Media.MediaCodec * Android.Media.MediaFormat -> unit

Parameters

codec
MediaCodec

The MediaCodec object.

format
MediaFormat

The new output format.

Attributes

Remarks

Called when the output format has changed

Java documentation for android.media.MediaCodec.Callback.onOutputFormatChanged(android.media.MediaCodec, android.media.MediaFormat).

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