AsyncCallback

This class provides callbacks that report the result of asychronous operations.

onResult

Reports the result of the asynchronous operation.

@CalledByNative void onResult(Error error); 
Since
v4.5.0

Trigger timing

After the asynchronous operation is completed, the SDK triggers this callback to report the result of the operation.

Restrictions

Parameters

error
The state or error code: Error.