Added in API level 31

MediaCodec.OnFirstTunnelFrameReadyListener


public static interface MediaCodec.OnFirstTunnelFrameReadyListener

android.media.MediaCodec.OnFirstTunnelFrameReadyListener


Listener to be called when the first output frame has been decoded and is ready to be rendered for a codec configured for tunnel mode with KEY_AUDIO_SESSION_ID.

Summary

Public methods

abstract void onFirstTunnelFrameReady(MediaCodec codec)

Called when the first output frame has been decoded and is ready to be rendered.

Public methods

onFirstTunnelFrameReady

Added in API level 31
public abstract void onFirstTunnelFrameReady (MediaCodec codec)

Called when the first output frame has been decoded and is ready to be rendered.

Parameters
codec MediaCodec: This value cannot be null.