DeviceCapabilities

class DeviceCapabilities(val platform: String = PLATFORM_ANDROID, val drmVendor: String = VENDOR_ANDROID, val drmSecurityLevel: String? = null)

Describes the playback capabilities of the device, so that the integration layer only returns resources that the device is actually able to play.

Use DeviceCapabilities.device to get the capabilities of the current device. They are sent to the integration layer as query parameters of the IlUrl.

The DRM capabilities are only sent to the integration layer when drmSecurityLevel is known.

Constructors

Link copied to clipboard
constructor(platform: String = PLATFORM_ANDROID, drmVendor: String = VENDOR_ANDROID, drmSecurityLevel: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Widevine security level of the device, or null if Widevine is unavailable.

Link copied to clipboard

The DRM vendor requesting the media composition.

Link copied to clipboard

The platform requesting the media composition.