asNativeMediaMetadataBuilder
Creates a builder object for a platform-specific MediaMetadata
compatible with the underlying media player, pre-populated with data from the current AstroMediaItem.metadata
.
This function creates a new MediaMetadata.Builder
object and likely uses conversion methods to populate the builder with the corresponding metadata fields from the current AstroMediaMetadata
object. The specific conversion logic is likely not documented here, but it presumably translates the data from AstroMediaMetadata
to a format compatible with the underlying media player's MediaMetadata
class.
The resulting builder object allows further customization of the MediaMetadata
before building the final object using build()
.
Return
A MediaMetadata.Builder
object pre-populated with data from the current AstroMediaMetadata
.