public class TruoraHttpClient
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TruoraHttpClient.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
MAX_RETRIES |
| Constructor and Description |
|---|
TruoraHttpClient(java.lang.String apiKey,
Client<TruoraApi> client) |
| Modifier and Type | Method and Description |
|---|---|
void |
createIdentity(CreateIdentityCallback truoraCallback) |
protected int |
getCurrentRetries() |
void |
getIdentityResults(java.lang.String processID,
GetIdentityResultsCallback truoraCallback) |
void |
goBackIdentity(java.lang.String processID,
CommonCallback truoraCallback) |
void |
onDestroy() |
protected void |
onVerifyIdentityError(APIError apiError,
java.lang.String processId,
CommonCallback truoraWrapperCallback) |
void |
readIdentity(java.lang.String processID,
CommonCallback truoraCallback) |
protected void |
setCurrentRetries(int currentRetries) |
protected void |
setPollingHandler(android.os.Handler handler) |
void |
verifyIdentity(java.lang.String processID,
Step step,
CommonCallback truoraCallback) |
protected static final int MAX_RETRIES
public void createIdentity(CreateIdentityCallback truoraCallback)
public void verifyIdentity(java.lang.String processID,
Step step,
CommonCallback truoraCallback)
protected void onVerifyIdentityError(APIError apiError, java.lang.String processId, CommonCallback truoraWrapperCallback)
public void readIdentity(java.lang.String processID,
CommonCallback truoraCallback)
public void goBackIdentity(java.lang.String processID,
CommonCallback truoraCallback)
public void getIdentityResults(java.lang.String processID,
GetIdentityResultsCallback truoraCallback)
public void onDestroy()
protected void setPollingHandler(android.os.Handler handler)
protected int getCurrentRetries()
protected void setCurrentRetries(int currentRetries)