docs/doc/reference/com/google/android/exoplayer2/drm/FrameworkCryptoConfig.html
Package com.google.android.exoplayer2.drm
All Implemented Interfaces:CryptoConfig
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classFrameworkCryptoConfigextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[CryptoConfig](../decoder/CryptoConfig.html "interface in com.google.android.exoplayer2.decoder")
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
A CryptoConfig for C.CRYPTO_TYPE_FRAMEWORK. Contains the necessary information to build or update a framework MediaCrypto that can be used to configure a MediaCodec.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| boolean | forceAllowInsecureDecoderComponents |
Deprecated.
Whether to allow use of insecure decoder components even if the underlying platform says otherwise.
|
| byte[] | sessionId |
Deprecated.
The DRM session id.
|
| UUID | uuid |
Deprecated.
The DRM scheme UUID.
|
| static boolean | WORKAROUND_DEVICE_NEEDS_KEYS_TO_CONFIGURE_CODEC |
Deprecated.
Whether the device needs keys to have been loaded into the DrmSession before codec configuration.
|
Constructors | Constructor | Description |
| --- | --- |
| FrameworkCryptoConfig(UUID uuid, byte[] sessionId, boolean forceAllowInsecureDecoderComponents) |
Deprecated.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static final boolean WORKAROUND_DEVICE_NEEDS_KEYS_TO_CONFIGURE_CODEC
Deprecated.
Whether the device needs keys to have been loaded into the DrmSession before codec configuration.
-
public final[UUID](https://developer.android.com/reference/java/util/UUID.html "class or interface in java.util")uuid
Deprecated.
The DRM scheme UUID.
-
public final byte[] sessionId
Deprecated.
The DRM session id.
-
public final boolean forceAllowInsecureDecoderComponents
Deprecated.
Whether to allow use of insecure decoder components even if the underlying platform says otherwise.
-
public FrameworkCryptoConfig([UUID](https://developer.android.com/reference/java/util/UUID.html "class or interface in java.util")uuid,
byte[] sessionId,
boolean forceAllowInsecureDecoderComponents)
Deprecated.
Parameters:uuid - The DRM scheme UUID.sessionId - The DRM session id.forceAllowInsecureDecoderComponents - Whether to allow use of insecure decoder components even if the underlying platform says otherwise.