Ant Device Collection Class
This is a thread safe observable collection of ANT devices.
Definition
Namespace: SmallEarthTech.AntPlus
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
C#
public class AntDeviceCollection : ObservableCollection<AntDevice>VB
Public Class AntDeviceCollection
Inherits ObservableCollection(Of AntDevice)C++
public ref class AntDeviceCollection : public ObservableCollection<AntDevice^>F#
type AntDeviceCollection =
class
inherit ObservableCollection<AntDevice>
end- Inheritance
- Object CollectionAntDevice ObservableCollectionAntDevice AntDeviceCollection
Remarks
This class will create an AntDevice from one of the supported ANT device classes and add
it to the collection as they are discovered. An important consideration is when the device is no longer
available. You may supply a timeout duration or the number of missed messages. You should prefer missed messages
as this scales the timeout duration based on the broadcast transmission rate of the particular ANT device.
The timeout/missed messages will be applied globally to ANT devices created by this collection.
Constructors
| AntDeviceCollection | Initializes a new instance of the AntDeviceCollection class. The ANT radio is configured for continuous scan mode. |
Properties
| Count | (Inherited from CollectionAntDevice) |
| Item | (Inherited from CollectionAntDevice) |
| Items | (Inherited from CollectionAntDevice) |
Methods
Events
| CollectionChanged | (Inherited from ObservableCollectionAntDevice) |
| PropertyChanged | (Inherited from ObservableCollectionAntDevice) |
Fields
| CollectionLock | The collection lock. |