currentMediaMetadataAsFlow
fun Player.currentMediaMetadataAsFlow(withPlaylistMediaMetadata: Boolean = false): Flow<MediaMetadata>
Collects the media metadata as a Flow.
Return
A Flow emitting the media metadata.
Parameters
withPlaylistMediaMetadata
Whether to listen to Player.Listener.onPlaylistMetadataChanged too.