# 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)

*** ** * ** ***


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

<br />

*** ** * ** ***

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