POLS

PhoneGPSSpotter Members

PhoneGPSSpotter overview

Public Instance Constructors

PhoneGPSSpotter Constructor Initializes a new instance of the PhoneGPSSpotter class.

Public Instance Methods

Close 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetMeasurement Blocks indefinitely while getting a new measurement.
GetType (inherited from Object)Gets the Type of the current instance.
Open 
ScanOnce 
ScanOnceExceptionThrownCallback 
ScanOnceMeasurementAvailableCallback 
SendColdReset This is supposed to send a "cold reset" command to the GPS device and force it to download a new almanac from the satellites. This is useful if you've travelled a very long distance since last using the GPS.
StartScanning 
StopScanning 
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

ExceptionThrown (inherited from Spotter) Occurs when an exception is thrown by either a background scan or by a call to GetMeasurement.
MeasurementAvailable (inherited from Spotter) Occurs when a new measurement is generated by either a background scan or a call to GetMeasurement.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
LineAvailable (inherited from NMEAGPSSpotter) 
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
NotifyGotMeasurement (inherited from Spotter) Notifies subscribers to the MeasurementAvailable event that a new Measurement is available.
NotifySpotterException (inherited from Spotter) Notifies subscribers to the ExceptionThrown event that a new SpotterException has been thrown.

See Also

PhoneGPSSpotter Class | POLS.Spotters Namespace