setOnObjectsScannedCallback

abstract fun setOnObjectsScannedCallback(onObjectsScanned: (objects: List<ScannedObject>) -> Unit?)

Sets the callback called with the objects scanned in each frame, or removes it with null.