Stay organized with collections
Save and categorize content based on your preferences.
@UnstableApi
public interface CryptoConfig
Configuration for a decoder to allow it to decode encrypted media data. The configuration is C.CryptoType
specific.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# CryptoConfig\n============\n\nArtifact: [androidx.media3:media3-decoder](/jetpack/androidx/releases/media3) \n[View Source](https://cs.android.com/search?q=file:androidx/media3/decoder/CryptoConfig.java+class:androidx.media3.decoder.CryptoConfig)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/media3/decoder/CryptoConfig \"View this page in Kotlin\") \\|Java\n\n\n```\n@UnstableApi\npublic interface CryptoConfig\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[FakeCryptoConfig](/reference/androidx/media3/test/utils/FakeCryptoConfig), [FrameworkCryptoConfig](/reference/androidx/media3/exoplayer/drm/FrameworkCryptoConfig) \n\n|-----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FakeCryptoConfig](/reference/androidx/media3/test/utils/FakeCryptoConfig) | Fake [CryptoConfig](/reference/androidx/media3/decoder/CryptoConfig). |\n| [FrameworkCryptoConfig](/reference/androidx/media3/exoplayer/drm/FrameworkCryptoConfig) | A [CryptoConfig](/reference/androidx/media3/decoder/CryptoConfig) for [CRYPTO_TYPE_FRAMEWORK](/reference/androidx/media3/common/C#CRYPTO_TYPE_FRAMEWORK()). |\n\n*** ** * ** ***\n\nConfiguration for a decoder to allow it to decode encrypted media data. The configuration is [C.CryptoType](/reference/androidx/media3/common/C.CryptoType) specific."]]