Langue

MediaCodec.Callback.OnOutputFormatChanged(MediaCodec, MediaFormat) Méthode

Définition

Appelé lorsque le format de sortie a changé

[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

Paramètres

codec
MediaCodec

Objet MediaCodec.

format
MediaFormat

Nouveau format de sortie.

Attributs

Remarques

Appelé lorsque le format de sortie a changé

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

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à