handleActivityResult

Use this function to handle results of the card entry activity. This function should be called from Activity.onActivityResult with the provided data parameter. callback will be called immediately with the result of the card entry activity.

The callback is executed on the main thread.

Parameters

data

The data parameter from Activity.onActivityResult. May be null.

callback

A callback that will be immediately called back, if data corresponds to the result of a card entry activity.