CameraListener

Functions

Link copied to clipboard
abstract fun canReceiveFrame(): Boolean
Called before onCameraFrame to determine if frame can be received.
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
abstract fun onCameraFrame(@NonNull frame: ICameraFrame)
Called when camera manager prepares frame for processing.
Link copied to clipboard
abstract fun onHighResFrame(@NonNull frame: ICameraFrame)
Called when camera manager prepares max resolution frame for processing.