DeviceGeolocation

Wisej.Hybrid.DeviceGeolocation

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (3.5.0.0)

Provides methods to fetch the user's location.

public class DeviceGeolocation

Access this class through the Device singleton.

Constructors

DeviceGeolocation()

Initializes a new instance of DeviceGeolocation.

Methods

GetLastKnownLocation()

Gets the device's last known location.

Returns: Location. The last known location.

GetLocation(request)

Gets the device's location.

Parameter
Type
Description

Returns: Location. The device's location.

GetPlacemarks(lat, lon)

Retrieve potential placemarks for a given location specified by coordinates.

Parameter
Type
Description

lat

The latitude coordinate to find placemarks near.

lon

The longitude coordinate to find placemarks near.

Returns: Placemark[]. List of Placemark that best match the coordinates or if no placemarks are found.

Last updated