onPrepare

abstract fun onPrepare(autoPlay: Boolean)

Called when a media controller wants to prepare playback.

Parameters

autoPlay

Start playback when preparation is done.