onResult

abstract fun onResult(@NonNull result: MIRACLResult<SUCCESS, FAIL>)

Handles the result of a MIRACLTrust SDK operation.

Important: The implementation of this method will be invoked on the main thread.

Parameters

result

The MIRACLResult containing the result of the SDK operation. It can be either a MIRACLSuccess or a MIRACLError.