setDetection

fun setDetection(detection: T?)

Set current detection result or null if nothing was detected.