Home | History | Annotate | Download | only in security

Lines Matching defs:callback

71  * {@link ConfirmationCallback#onConfirmed onConfirmed(byte[])} callback as the
97 ConfirmationCallback callback) {
100 callback.onConfirmed(dataThatWasConfirmed);
104 callback.onDismissed();
108 callback.onCanceled();
112 callback.onError(new Exception("System error returned by ConfirmationUI."));
116 callback.onError(new Exception("Unexpected responseCode=" + responseCode
117 + " from onConfirmtionPromptCompleted() callback."));
129 ConfirmationCallback callback = mCallback;
134 doCallback(responseCode, dataThatWasConfirmed, callback);
139 doCallback(responseCode, dataThatWasConfirmed, callback);
253 * {@link ConfirmationCallback} is called on the supplied callback object.
259 * @param executor the executor identifying the thread that will receive the callback.
260 * @param callback the callback to use when the prompt is done showing.
265 public void presentPrompt(@NonNull Executor executor, @NonNull ConfirmationCallback callback)
274 mCallback = callback;
308 * the supplied callback object will be called asynchronously.