addResultHandler

Registers result handler which will be notified about MC data detection results.

Results are coming on the worker thread.

NOTE: Don't forget to move execution to main thread before updating UI.

Parameters

handler

handler to register. Must not be null. If handler was already registered, nothing happens.