fun addPictureTakenListener(listener: (imageData: ByteArray) -> Unit): CameraView
Platform and version requirements: JVM
Add a new picture taken listener.
listener
- lambda with imageData of type ByteArray as argument
which is image data of the captured image, of format set with CameraView.outputFormat
Return
instance of CameraView it is called on