MediaConfiguration

@IviExperimental(reasons = [])
data class MediaConfiguration

Configures the behavior of the media frontend by providing a PolicyProvider for SourceId.

Media configuration is useful for creating custom media Frontend. Use asMediaConfiguration in FrontendBuilder to create media configuration from MediaPolicyFrontendExtensions.

Example

val mediaConfiguration = getFrontendExtensionsByType<MediaPolicyFrontendExtension>()
.asMediaConfiguration()

Functions

Link copied to clipboard

Maps the requested sourceId to a PolicyProvider.