Task Completion Listener
Generic listener interface for receiving the result of an asynchronous task.
The task completes with either a success result via onComplete or an error via onError.
Code Example:
participant.captureImage(720, 1280, new TaskCompletionListener<String, String>() {
public void onComplete(String base64Image) {
// Use the captured image
}
public void onError(String error) {
Log.e("Capture", "Failed: " + error);
}
});
Content copied to clipboard
Parameters
<T>
the type of the success result
<K>
the type of the error result
See also
Participant.captureImage()
Meeting.uploadBase64File()