ZXCameraView

class ZXCameraView(activity: AppCompatActivity, viewStub: ViewStub) : CameraView<DecoratedBarcodeView>

Constructors

Link copied to clipboard
fun ZXCameraView(activity: AppCompatActivity, viewStub: ViewStub)

Functions

Link copied to clipboard
open override fun attach(    cameraState: Int,     flashActive: Boolean,     autoFocusActive: Boolean)
Link copied to clipboard
open fun detach()
Link copied to clipboard
open override fun onResume()
Link copied to clipboard
open override fun playBeepSound()
Link copied to clipboard
open override fun startCameraPreview()
Link copied to clipboard
open override fun stopCameraPreview()
Link copied to clipboard
open override fun toggleCamera(requestedCameraId: Int)
Link copied to clipboard
open override fun updateFlashSetting(flashActive: Boolean)
Link copied to clipboard
open override fun updateFocusModeSetting(autoFocusActive: Boolean)
Link copied to clipboard
open override fun updateWorkflowState(state: WorkflowState)

Properties

Link copied to clipboard
var barcodeScannedCallback: (String?) -> Unit?
Link copied to clipboard
var onOverlayClickListener: () -> Unit?