addPictureCallback

open override fun addPictureCallback(pictureCallback: BasePictureCallback)

Adds callback which will be notified when picture will be taken. Callbacks are invoked on a worker thread, so you can safely perform "heavy" operations here.

Parameters

pictureCallback

callback to register. Must not be null. If this callback was already added, nothing happens.

See also

PictureCallback