# EGLSurfaceTexture.SecureMode

# EGLSurfaceTexture.SecureMode

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/util/EGLSurfaceTexture.java+class:androidx.media3.common.util.EGLSurfaceTexture.SecureMode)

*** ** * ** ***

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

<br />

```
@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = ElementType.TYPE_USE)
@IntDef(value = )
annotation EGLSurfaceTexture.SecureMode
```

<br />

*** ** * ** ***

Secure mode to be used by the EGL surface and context. One of[SECURE_MODE_NONE](https://developer.android.com/reference/kotlin/androidx/media3/common/util/EGLSurfaceTexture#SECURE_MODE_NONE()),[SECURE_MODE_SURFACELESS_CONTEXT](https://developer.android.com/reference/kotlin/androidx/media3/common/util/EGLSurfaceTexture#SECURE_MODE_SURFACELESS_CONTEXT())or[SECURE_MODE_PROTECTED_PBUFFER](https://developer.android.com/reference/kotlin/androidx/media3/common/util/EGLSurfaceTexture#SECURE_MODE_PROTECTED_PBUFFER()).