MediaSupportSnapshot

Immutable preflight snapshot of player capabilities and codec support for the current platform.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val capabilities: PlayerCapabilities
Link copied to clipboard
Link copied to clipboard
val displayColorCapabilities: DisplayColorCapabilities

Capabilities of the display active when this preflight snapshot was queried.

Link copied to clipboard
val supportedDynamicRanges: Set<VideoDynamicRange>

Dynamic ranges reported or independently verified for the active display.

Link copied to clipboard
val supportedHdrDynamicRanges: Set<VideoDynamicRange>

HDR-only subset of supportedDynamicRanges.

Link copied to clipboard

Functions

Link copied to clipboard
fun canPlaySource(source: MediaSourceSpec): Boolean
fun canPlaySource(uri: String, mimeType: String? = null): Boolean
Link copied to clipboard
fun dynamicRangeSupport(dynamicRange: VideoDynamicRange): VideoDynamicRangeSupport
Link copied to clipboard
Link copied to clipboard
fun isDynamicRangeSupported(dynamicRange: VideoDynamicRange): Boolean