WebKit2.GeolocationManager (original) (raw)
Class
WebKit2GeolocationManager
since: 2.26
Description [src]
class WebKit2.GeolocationManager : GObject.Object
{
priv: WebKitGeolocationManagerPrivate*
}
Geolocation manager.
WebKitGeolocationManager provides API to get the geographical position of the user. Once a WebKitGeolocationPermissionRequest
is allowed, when WebKit needs to know the user location WebKitGeolocationManager::start
signal is emitted. If the signal is handled and returns TRUE
, the application is responsible for providing the position every time it’s updated by calling webkit_geolocation_manager_update_position(). The signal WebKitGeolocationManager::stop
will be emitted when location updates are no longer needed.
Available since: 2.26
Instance methods
Methods inherited from GObject (43)
Please see GObject for a full list of methods.
Properties
WebKit2.GeolocationManager:enable-high-accuracy
Whether high accuracy is enabled. This is a read-only property that will be set to TRUE
when a WebKitGeolocationManager
needs to get accurate position updates. You can connect to notify::enable-high-accuracy signal to monitor it.
since: 2.26
Signals
WebKit2.GeolocationManager::start
The signal is emitted to notify that manager
needs to start receiving position updates. After this signal is emitted the user should provide the updates using webkit_geolocation_manager_update_position()
every time the position changes, or use webkit_geolocation_manager_failed()
in case it isn’t possible to determine the current position.
since: 2.26
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct WebKit2GeolocationManagerClass {
GObjectClass parent_class;
void (* _webkit_reserved0) (
void
);
void (* _webkit_reserved1) (
void
);
void (* _webkit_reserved2) (
void
);
void (* _webkit_reserved3) (
void
);
}
No description available.
Class members
parent_class: GObjectClass
No description available.
_webkit_reserved0: void (* _webkit_reserved0) ( void )
No description available.
_webkit_reserved1: void (* _webkit_reserved1) ( void )
No description available.
_webkit_reserved2: void (* _webkit_reserved2) ( void )
No description available.
_webkit_reserved3: void (* _webkit_reserved3) ( void )
No description available.