setPreview
Sets a preview surface.
Parameters
surfaceView
The SurfaceView used for camera preview
Sets a preview surface holder.
Parameters
surfaceHolder
The SurfaceHolder used for camera preview
Sets a preview surface.
Parameters
textureView
The TextureView used for camera preview