public interface ChallengeCallback
Modifier and Type | Interface and Description |
---|---|
static interface |
ChallengeCallback.CompletionEvent
Interface to represent information about successful challenge completion
|
static interface |
ChallengeCallback.ErrorEvent
Interface to represent information about interrupted challenge
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TIMEOUT_ERROR_CODE
Error code for the case when challenge is interrupted due to internal timeout expiration
|
Modifier and Type | Method and Description |
---|---|
void |
onCancel()
Invoked if shopper manually aborts authentication by tapping 'Cancel' button
|
void |
onComplete(ChallengeCallback.CompletionEvent completionEvent)
Invoked when challenge is completed without any errors
|
void |
onFailure(ChallengeCallback.ErrorEvent errorEvent)
Invoked if some internal error has occurred
|
static final java.lang.String TIMEOUT_ERROR_CODE
void onComplete(ChallengeCallback.CompletionEvent completionEvent)
completionEvent
- Details about challenge completionvoid onFailure(ChallengeCallback.ErrorEvent errorEvent)
errorEvent
- Details about challenge failurevoid onCancel()