Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IMediaKeySystemConfiguration2

interface IMediaKeySystemConfiguration2
Extends IMediaKeySystemConfiguration

Methods

getLabel()

string getLabel()
Gets the label from the configuration.

Returns

string The label as String

getInitDataTypes()

ContentProtectionInitDataType[] getInitDataTypes()
Gets the list of ContentProtectionInitDataType from the configuration

Returns

ContentProtectionInitDataType[] ContentProtectionInitDataType list

getAudioCapabilities()

IMediaKeySystemMediaCapability2*[] getAudioCapabilities()
Gets the list of audio IMediaKeySystemMediaCapability2 from the configuration

Returns

IMediaKeySystemMediaCapability2*[] IMediaKeySystemMediaCapability list for audio

getVideoCapabilities()

IMediaKeySystemMediaCapability2*[] getVideoCapabilities()
Gets the list of video IMediaKeySystemMediaCapability2 from the configuration

Returns

IMediaKeySystemMediaCapability2*[] IMediaKeySystemMediaCapability list for video

supportDistinctiveIdentifier()

bool supportDistinctiveIdentifier()
Checks whether or not the underlying CDM supports the use of Distinctive Identifiers

Returns

bool true if supported

supportsPersistentState()

bool supportsPersistentState()
Checks whether or not the underlying CDM supports the use of Persistent State

Returns

bool true if supported

getSessionTypes()

MediaKeySessionType[] getSessionTypes()
Gets the list of MediaKeySessionType from the configuration

Returns

MediaKeySessionType[] MediaKeySessionType list for
Last modified on October 29, 2026