C# 클래스 FakeGPS.Common.GeolocationHelper

Static class to help with Geolocation operations.
파일 보기 프로젝트 열기: juliankay/FakeGPS

공개 메소드들

메소드 설명
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.

메소드 상세

Get() 공개 정적인 메소드

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
리턴 LatLong

IsValid() 공개 정적인 메소드

Checks to see if the location string is valid.
public static IsValid ( string latLong ) : bool
latLong string The location string.
리턴 bool

ToLatLong() 공개 정적인 메소드

Convert a location string to a LatLong.
public static ToLatLong ( string latLong ) : LatLong
latLong string The location string.
리턴 LatLong