Click or drag to resize
CfxOnRequestGeolocationPermissionEventArgs Class

[This is preliminary documentation and is subject to change.]

Called when a page requests permission to access geolocation information. |RequestingUrl| is the URL requesting permission and |RequestId| is the unique ID for the permission request. Return true (1) and call CfxGeolocationCallback.Continue() either in this function or at a later time to continue or cancel the request. Return false (0) to cancel the request immediately.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ChromiumCfxEventArgs
      Chromium.EventCfxOnRequestGeolocationPermissionEventArgs

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxOnRequestGeolocationPermissionEventArgs : CfxEventArgs

The CfxOnRequestGeolocationPermissionEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyBrowser
Get the Browser parameter for the OnRequestGeolocationPermission callback.
Public propertyCallback
Get the Callback parameter for the OnRequestGeolocationPermission callback.
Public propertyRequestId
Get the RequestId parameter for the OnRequestGeolocationPermission callback.
Public propertyRequestingUrl
Get the RequestingUrl parameter for the OnRequestGeolocationPermission callback.
Top
Methods
  NameDescription
Public methodSetReturnValue
Set the return value for the OnRequestGeolocationPermission callback. Calling SetReturnValue() more then once per callback or from different event handlers will cause an exception to be thrown.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_geolocation_handler_capi.h.
See Also