GeolocationManager.connectStart

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.

class GeolocationManager
ulong
connectStart
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == bool)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 2
)

Parameters

callback T

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 Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID