Code example for GeolocationPermissions.Callback

Methods: invoke

0
  } 
  @Override 
  protected void onRequestFocus() { 
    if (webClient_ != null)
      webClient_.onRequestFocus(view_);
  } 
  @Override 
  protected void onCloseWindow() { 
    if (webClient_ != null)
      webClient_.onCloseWindow(view_);
  } 
  @Override 
  public void onGeolocationPermissionsShowPrompt(String origin,
      Callback callback) {
    if (webClient_ != null) {
      webClient_.onGeolocationPermissionsShowPrompt(origin, callback);
    } else { 
      callback.invoke(origin, false, false);
    } 
  } 
  @Override