setPreview
Sets the preview surface.
Parameters
surface
The Surface used for the source preview
Throws
if the video source is not previewable
Sets a preview surface.
Parameters
surfaceView
The SurfaceView used for the source preview
Throws
if the video source is not previewable
Sets a preview surface holder.
Parameters
surfaceHolder
The SurfaceHolder used the source preview
Throws
if the video source is not previewable
Sets a preview surface.
Parameters
textureView
The TextureView used for the source preview
Throws
if the video source is not previewable