createWindowSurface

open fun createWindowSurface(surface: Any)

Creates a window surface.

Parameters

surface

May be a Surface or SurfaceTexture.