CameraView

constructor(context: Context?)

Create CameraView instance via Context

Parameters

context

Android context object


constructor(surfaceView: SurfaceView)

Create CameraView instance via SurfaceView

Parameters

surfaceView

SurfaceView object


constructor(context: Context?, attrs: AttributeSet?)

Create CameraView instance via Context and AttributeSet (for XML layout)

Parameters

context

Android context object

attrs

XML attribute set


constructor(context: Context?, attrs: AttributeSet?, surfaceView: SurfaceView?)

Create CameraView instance via Context, AttributeSet and SurfaceView

Parameters

context

Android context object

attrs

XML attribute set

surfaceView

SurfaceView object