ResultHandler

ResultHandler


interface ResultHandler<SUCCESS, FAIL>

An interface used to connect MIRACLTrust SDK output to your application. The result could be either MIRACLSuccess or MIRACLError.

Parameters

<SUCCESS> type of the value on success.
<FAIL> type of the value on failure.

Functions

Name Summary
onResult
abstract fun onResult(@NonNullresult: MIRACLResult<SUCCESS, FAIL>)