onPrepareFromUri

abstract fun onPrepareFromUri(uri: Uri?, autoPlay: Boolean, extras: Bundle?)

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

Parameters

uri

The media Uri.

autoPlay

Start playback when preparation is done.

extras

The extras can include information about the media.