POLS

Spotter Members

Spotter overview

Public Instance Methods

Close Closes a Spotter.
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 Synchronously fetches a new measurement from the device.
GetType (inherited from Object)Gets the Type of the current instance.
Open Opens a Spotter.
ScanOnce Scans the environment once in the background, and generates a new Measurement.
StartScanning Begins periodically scanning the environment in the background at intervals defined by nextScanInterval and generates a new Measurement with each scan.
StopScanning Stops a scan already started by startScanning.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

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

Protected Instance Constructors

Spotter Constructor Initializes a new instance of the Spotter class.

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.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
NotifyGotMeasurement Notifies subscribers to the MeasurementAvailable event that a new Measurement is available.
NotifySpotterException Notifies subscribers to the ExceptionThrown event that a new SpotterException has been thrown.

See Also

Spotter Class | POLS.Core Namespace