Method | Description | |
---|---|---|
Close ( ) : void |
Closes the gps device.
|
|
GetDeviceState ( ) : Microsoft.WindowsMobile.Samples.Location.GpsDeviceState |
Queries the device state.
|
|
GetPosition ( ) : |
Get the position reported by the GPS receiver
|
|
GetPosition ( System.TimeSpan maxAge ) : |
Get the position reported by the GPS receiver that is no older than the maxAge passed in
|
|
Gps ( ) : System | ||
Open ( ) : void |
Opens the GPS device and prepares to receive data from it.
|
Method | Description | |
---|---|---|
CloseHandle ( |
||
CreateEvent ( |
||
CreateGpsEventThread ( ) : void |
Creates our event thread that will receive native events
|
|
EventModify ( |
||
GPSCloseDevice ( |
||
GPSGetDeviceState ( |
||
GPSGetPosition ( |
||
GPSOpenDevice ( |
||
WaitForGpsEvents ( ) : void |
Method used to listen for native events from the GPS.
|
|
WaitForMultipleObjects ( int nCount, |
public GetDeviceState ( ) : Microsoft.WindowsMobile.Samples.Location.GpsDeviceState | ||
return | Microsoft.WindowsMobile.Samples.Location.GpsDeviceState |
public GetPosition ( System.TimeSpan maxAge ) : |
||
maxAge | System.TimeSpan | Max age of the gps position data that you want back. /// If there is no data within the required age, null is returned. /// if maxAge == TimeSpan.Zero, then the age of the data is ignored |
return |