MediaCodec.Callback.OnOutputFormatChanged(MediaCodec, MediaFormat) 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 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
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.