transform Surface Config
fun transformSurfaceConfig(cameraMode: Int, imageFormat: Int, size: Size, streamUseCase: <Error class: unknown class>): <Error class: unknown class>
Transform to a SurfaceConfig object with image format and size info
Return
new SurfaceConfig object
Parameters
camera Mode
the working camera mode.
image Format
the image format info for the surface configuration object
size
the size info for the surface configuration object