Added in API level 31

OnFirstTunnelFrameReadyListener


interface 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 Unit

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

Public methods

onFirstTunnelFrameReady

Added in API level 31
abstract fun onFirstTunnelFrameReady(codec: MediaCodec): Unit

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

Parameters
codec MediaCodec: This value cannot be null.