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 IMediaKeySystemAccess

interface IMediaKeySystemAccess
Extends com.amazon.apmf.IStandard The interface to provide access to key system. For more details see https://www.w3.org/TR/encrypted-media/#mediakeysystemaccess-interface

Methods

getKeySystemName()

string getKeySystemName()
Gets the name of the KeySystem abstracted through this

Returns

string Null terminated string with key system name

getConfiguration()

IMediaKeySystemConfiguration* getConfiguration()
Gets the current configuration for the CDM abstraction

Returns

IMediaKeySystemConfiguration* IMediaKeySystemConfiguration object instance holding the current configuration

makeMediaKeys()

com.amazon.apmf.ISubscription* makeMediaKeys(IMediaKeysCreationListener* keysCreationListener)
Creates MediaKeys using the current configuration

Parameters

keysCreationListener
IMediaKeysCreationListener* — Required IMediaKeysCreationListener instance to get the newly created media keys.

Returns

com.amazon.apmf.ISubscription* ISubscription obj instance
Last modified on October 29, 2026