| Package | Description |
|---|---|
| com.approveapi |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
ApproveApi.createPromptAsync(CreatePromptRequest createPromptRequest,
ApiCallback<Prompt> callback)
Sending a prompt (asynchronously)
Creates a prompt and pushes it to the user (sends via email, sms, or other supported protocols).
|
<T> void |
ApiClient.executeAsync(okhttp3.Call call,
ApiCallback<T> callback)
|
<T> void |
ApiClient.executeAsync(okhttp3.Call call,
Type returnType,
ApiCallback<T> callback)
Execute HTTP call asynchronously.
|
okhttp3.Call |
ApproveApi.getPromptAsync(String id,
Boolean longPoll,
ApiCallback<Prompt> callback)
Retrieve a prompt (asynchronously)
Retrieve the prompt object with the given ID.
|
okhttp3.Call |
ApproveApi.getPromptStatusAsync(String id,
ApiCallback<PromptStatus> callback)
Check prompt status (asynchronously)
Returns whether a prompt has been completed by the user.
|
Copyright © 2019. All rights reserved.