# C.CryptoMode

# C.CryptoMode

Artifact:[androidx.media3:media3-common](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/common/C.java+class:androidx.media3.common.C.CryptoMode)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/common/C.CryptoMode "View this page in Java")

<br />

```
@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = ElementType.TYPE_USE)
@IntDef(value = )
@UnstableApi
annotation C.CryptoMode
```

<br />

*** ** * ** ***

Crypto modes for a codec. One of[CRYPTO_MODE_UNENCRYPTED](https://developer.android.com/reference/kotlin/androidx/media3/common/C#CRYPTO_MODE_UNENCRYPTED()),[CRYPTO_MODE_AES_CTR](https://developer.android.com/reference/kotlin/androidx/media3/common/C#CRYPTO_MODE_AES_CTR())or[CRYPTO_MODE_AES_CBC](https://developer.android.com/reference/kotlin/androidx/media3/common/C#CRYPTO_MODE_AES_CBC()).