Package org.cef.callback
Interface CefQueryCallback
-
public interface CefQueryCallback
Interface representing a query callback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
failure(int error_code, java.lang.String error_message)
Notify the associated JavaScript onFailure callback that the query has failed.void
success(java.lang.String response)
Notify the associated JavaScript onSuccess callback that the query has completed successfully.
-
-
-
Method Detail
-
success
void success(java.lang.String response)
Notify the associated JavaScript onSuccess callback that the query has completed successfully.- Parameters:
response
- Response passed to JavaScript.
-
failure
void failure(int error_code, java.lang.String error_message)
Notify the associated JavaScript onFailure callback that the query has failed.- Parameters:
error_code
- Error code passed to JavaScript.error_message
- Error message passed to JavaScript.
-
-