CameraEventsListener

Functions

Link copied to clipboard
abstract fun onAutofocusFailed()
This method will be called when camera focusing has failed.
Link copied to clipboard
abstract fun onAutofocusStarted(@Nullable focusAreas: Array<Rect>)
This method will be called when camera focusing has started.
Link copied to clipboard
abstract fun onAutofocusStopped(@Nullable focusAreas: Array<Rect>)
This method will be called when camera focusing has stopped.
Link copied to clipboard
Called on Android 6.0 and newer when runtime camera permission was not given to the app.
Link copied to clipboard
abstract fun onCameraPreviewStarted()
Called just after camera preview has successfully started and no exceptions occurred.
Link copied to clipboard
abstract fun onCameraPreviewStopped()
Called inside pause method of CameraView just haver camera preview has been stopped.
Link copied to clipboard
abstract fun onError(@NonNull exc: Throwable)
Called when recognition results with exception.