Darnton.Blazor.DeviceInterop
Geolocation Coordinates, based on .
Latitude in decimal degrees.
Longitude in decimal degrees.
Altitude in metres, relative to sea level.
Accuracy of the latitude and longitude properties, in metres.
Accuracy of the altitude, in metres.
The direction the device is travelling, in degrees clockwise from true north.
The velocity of the device, in metres per second.
Geolocation event data. Provides the with the position or error associated with the event.
The associated with the event.
Geolocation Position, based on .
The coordinates defining the current location
The time the coordinates were taken, in milliseconds since the Unix epoch.
The derived from the Timestamp, in UTC.
The reason for a Geolocation error, based on .
The for the error.
Details of the error. Intended for debugging rather than display to the user.
An enumeration of error codes used by .
.
Geolocation failoed because the device does not support geolocation. Not part of W3C spec.
Geolocation failed because permission to access location was denied.
Geolocation failed because of an internal error on the device.
Geolocation failed because no position was returned in time.
The result of a geolocation request. Contains either a or a .
The returned on successful geolocation.
The returned by a failed geolocation attempt.
Indicates whether the geolocation attempt was successful.
An implementation of that provides
an interop layer for the device's Geolocation API.
Constructs a object.
Invokes the event handler.
Invoked by the success and error callbacks of the JavaScript watchPosition() function.
A passed back from JavaScript.
A wrapper around the device's Geolocation API services.
.
A wrapper around the function,
used to get the current position of the device.
used to modify the request.
The result of the geolocation request.
A wrapper around the function,
used to listen for position changes. If the service is listening, a event is fired
each time the device's position changes.
used to modify the request.
A watch ID that refers to the handler. The ID can be used to unregister the handler with .
Handles the receipt of new positions. Fired whenever a handler is registered and the device's position changes.
Invoked with the sender and the .
A wrapper around the function,
used to unregister a handler created with .
The ID of the registered watch handler.
A task that represents the async clear operation.
Option properties to be passed to Geolocation functions, based on https://developer.mozilla.org/en-US/docs/Web/API/PositionOptions.
Enable high accuracy mode for best possible results.
May be slower or increase power consumption. Defaults to false.
Maximum length of time allowed to return a position (in milliseconds).
Set to null for no timeout. Defaults to null.
Maximum allowed age for a cached result.
Set to null to disregard the age of cached results.
Set to 0 to skip the cache and attempt a fresh result every time. Defaults to 0.