radio

abstract suspend fun radio(item: EchoMediaItem, context: EchoMediaItem?): Radio

Creates a radio for a media item with EchoMediaItem.isRadioSupported set to true.

If item is a Track. Make sure the radio tracks does not include this track.

Return

the created radio.

Parameters

item

the media item to create the radio for.

context

the context of the item. Only available for Track.

See also