Interface

SurfaceCoroutineScope

[SurfaceCoroutineScope] is a scoped environment provided by [AndroidExternalSurface] and [AndroidEmbeddedExternalSurface] when a new [Surface] is created.

Android
interface SurfaceCoroutineScope : SurfaceScope, CoroutineScope

SurfaceCoroutineScope is a scoped environment provided by AndroidExternalSurface and AndroidEmbeddedExternalSurface when a new Surface is created. This environment is a coroutine scope that also provides access to a SurfaceScope environment which can itself be used to handle other Surface lifecycle events.