public interface CefGeolocationHandler
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onCancelGeolocationPermission(CefBrowser browser,
int request_id)
Called when a geolocation access request is canceled.
|
boolean |
onRequestGeolocationPermission(CefBrowser browser,
String requesting_url,
int request_id,
CefGeolocationCallback callback)
Called when a page requests permission to access geolocation information.
|
boolean onRequestGeolocationPermission(CefBrowser browser, String requesting_url, int request_id, CefGeolocationCallback callback)
browser - The corresponding browser.requesting_url - is the URL requesting permission.request_id - is the unique ID for the permission request.callback - Call CefGeolocationCallback.Continue to allow or deny the
permission request.void onCancelGeolocationPermission(CefBrowser browser, int request_id)
browser - The corresponding browser.request_id - is the unique ID for the permission request.Copyright © 2017. All rights reserved.