onPrepareFromSearch

abstract fun onPrepareFromSearch(query: String?, autoPlay: Boolean, extras: Bundle?)

Called when a media controller wants to prepare playback for a specific query.

Parameters

query

The associated query.

autoPlay

Start playback when preparation is done.

extras

The extras can include information about the media.