mediaMetadata

fun mediaMetadata(mediaMetadata: MediaMetadata)

Sets the media metadata using an existing MediaMetadata instance.

Parameters

mediaMetadata

The MediaMetadata to set on the MediaItem.


Sets the media metadata by customizing the MediaMetadata.Builder receiver in block.

Parameters

block

A lambda that receives a MediaMetadata.Builder to configure the MediaMetadata.