addResultHandler

Registers result handler which will be notified about Document Data results.

Results are coming on the worker thread.

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

Parameters

resultHandler

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