GeolocationManager.connectStart
gulong connectStart(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.geolocation_manager.GeolocationManager)))
&& Parameters!T.length < 2)Connect to Start signal.
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.GeolocationManager.updatePosition] every time the position changes, or use [webkit.geolocation_manager.GeolocationManager.failed] in case it isn't possible to determine the current position.
If the signal is not handled, WebKit will try to determine the position using GeoClue if available.
Parameters
callback | signal callback delegate or function to connect bool callback(webkit.geolocation_manager.GeolocationManager geolocationManager) geolocationManager the instance the signal is connected to (optional) Returns true to stop other handlers from being invoked for the event. false to propagate the event further. |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID