setPreviewFrameSize

fun setPreviewFrameSize(frameSize: Size)

Set camera preview frame size. Make sure to set the size with the correct orientation.