C# Class FakeGPS.Common.GeolocationHelper

Static class to help with Geolocation operations.
Afficher le fichier Open project: juliankay/FakeGPS

Méthodes publiques

Méthode Description
Get ( ) : LatLong

Get the current location from the Windows location API.

This currently includes Thread.Sleep hack to ensure the device is ready.

IsValid ( string latLong ) : bool

Checks to see if the location string is valid.

ToLatLong ( string latLong ) : LatLong

Convert a location string to a LatLong.

Method Details

Get() public static méthode

Get the current location from the Windows location API.
This currently includes Thread.Sleep hack to ensure the device is ready.
public static Get ( ) : LatLong
Résultat LatLong

IsValid() public static méthode

Checks to see if the location string is valid.
public static IsValid ( string latLong ) : bool
latLong string The location string.
Résultat bool

ToLatLong() public static méthode

Convert a location string to a LatLong.
public static ToLatLong ( string latLong ) : LatLong
latLong string The location string.
Résultat LatLong