# EGLSurfaceTexture.TextureImageListener

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.TextureImageListener)

*** ** * ** ***


```
public interface EGLSurfaceTexture.TextureImageListener
```

<br />

*** ** * ** ***

Listener to be called when the texture image on `https://developer.android.com/reference/android/graphics/SurfaceTexture.html` has been updated.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/media3/common/util/EGLSurfaceTexture.TextureImageListener#onFrameAvailable()()` Called when the `https://developer.android.com/reference/android/graphics/SurfaceTexture.html` receives a new frame from its image producer. |

## Public methods

### onFrameAvailable

```
abstract void onFrameAvailable()
```

Called when the `https://developer.android.com/reference/android/graphics/SurfaceTexture.html` receives a new frame from its image producer.