addSurfaceToCamera

external fun addSurfaceToCamera(previewSurface: Surface): Pair<Int, Int>?

Attaches the surface to be rendered into directly by the camera.

Parameters

previewSurface

desired surface to be connected directly