amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / SurfaceTextureCaptureSourceFactory

# SurfaceTextureCaptureSourceFactory

`interface SurfaceTextureCaptureSourceFactory`

SurfaceTextureCaptureSourceFactory is an factory interface for creating new SurfaceTextureCaptureSource objects, possible using shared state. This provides flexibility over use of SurfaceTextureCaptureSource objects since they may not allow reuse, or may have a delay before possible reuse.

### Functions

#### createSurfaceTextureCaptureSource | Create a new SurfaceTextureCaptureSource object `abstract fun createSurfaceTextureCaptureSource(width: Int, height: Int, contentHint: VideoContentHint): SurfaceTextureCaptureSource`

### Inheritors

#### DefaultSurfaceTextureCaptureSourceFactory | DefaultSurfaceTextureCaptureSourceFactory creates DefaultSurfaceTextureCaptureSource objects `class DefaultSurfaceTextureCaptureSourceFactory : SurfaceTextureCaptureSourceFactory`