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 IContentProtectionInitData

interface IContentProtectionInitData
Extends com.amazon.apmf.IStandard Contains the content protection initialization data.

Methods

getContentProtectionInitDataBuffer()

u8[] getContentProtectionInitDataBuffer()
DRM scheme specific initialization data used by a CDM to generate a license request. For more details see https://www.w3.org/TR/encrypted-media/#dom-mediaencryptedevent-initdata

Returns

u8[] content protection init data buffer

getContentProtectionInitDataType()

ContentProtectionInitDataType getContentProtectionInitDataType()
Content protection initialization data type. For more details see https://www.w3.org/TR/eme-initdata-registry/

Returns

ContentProtectionInitDataType content protection init data type
Last modified on October 29, 2026