onPrepareFromMediaId

abstract fun onPrepareFromMediaId(mediaId: String?, autoPlay: Boolean, extras: Bundle?)

Called when a media controller wants to prepare playback of a specific mediaId.

Parameters

mediaId

The mediaId provided.

autoPlay

Start playback when preparation is done.

extras

The extras can include information about the media.