SDK responses – onSuccess and onFailure

Whenever an SCA event is sent to the SDK, the SDK will reply with either an onSuccess or an onFailure response.

onSuccess

The SDK will call the “OnSuccess()” method when the SDK action is successful.

onSuccess(String responseCode, String responseMessage)

 

onFailure

The SDK will call the “OnFailure()” method when the SDK action is unsuccessful, requesting the app to handle the outcome.

onFailure(String responseCode, String responseMessage)