FrameworkCryptoConfig
@UnstableApi
class FrameworkCryptoConfig : CryptoConfig
A CryptoConfig for CRYPTO_TYPE_FRAMEWORK. Contains the necessary information to build or update a framework MediaCrypto that can be used to configure a MediaCodec.
Summary
Constants |
|
|---|---|
const Boolean |
Whether the device needs keys to have been loaded into the |
Public constructors |
|---|
FrameworkCryptoConfig(uuid: UUID!, sessionId: ByteArray!)Constructs an instance. |
This function is deprecated. Use |
Public properties |
|
|---|---|
Boolean |
This property is deprecated. Use |
ByteArray<Byte>! |
The DRM session id. |
UUID! |
The DRM scheme UUID. |
Constants
WORKAROUND_DEVICE_NEEDS_KEYS_TO_CONFIGURE_CODEC
const val WORKAROUND_DEVICE_NEEDS_KEYS_TO_CONFIGURE_CODEC: Boolean
Whether the device needs keys to have been loaded into the DrmSession before codec configuration.
Public constructors
FrameworkCryptoConfig
FrameworkCryptoConfig(uuid: UUID!, sessionId: ByteArray!)
Constructs an instance.
FrameworkCryptoConfig
FrameworkCryptoConfig(
uuid: UUID!,
sessionId: ByteArray!,
forceAllowInsecureDecoderComponents: Boolean
)