public interface CefQueryCallback
限定符和类型 | 方法和说明 |
---|---|
void |
failure(int error_code,
java.lang.String error_message)
Notify the associated JavaScript onFailure callback that the query has
failed.
通知关联的JavaScript onFailure回调查询失败
|
void |
success(java.lang.String response)
Notify the associated JavaScript onSuccess callback that the query has
completed successfully.
通知关联的JavaScript onSuccess回调,查询已成功完成
|
void failure(int error_code, java.lang.String error_message)
error_code
- Error code passed to JavaScript.传递给JavaScript的错误代码error_message
- Error message passed to JavaScript.传递给JavaScript的错误消息void success(java.lang.String response)
response
- Response passed to JavaScript.响应传递给JavaScript