addResultHandler

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

Results are coming on the worker thread. Don't forget to move execution to main thread before updating UI.

Parameters

handler

handler to register. If handler was already registered, nothing happens.