AntDeviceCollection Constructor
Initializes a new instance of the
AntDeviceCollection class. The ANT radio is configured
for continuous scan mode.
Namespace: SmallEarthTech.AntPlusAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
public AntDeviceCollection(
IAntRadio antRadio,
ILoggerFactory loggerFactory,
int antDeviceTimeout = 2000
)
Public Sub New (
antRadio As IAntRadio,
loggerFactory As ILoggerFactory,
Optional antDeviceTimeout As Integer = 2000
)
public:
AntDeviceCollection(
IAntRadio^ antRadio,
ILoggerFactory^ loggerFactory,
int antDeviceTimeout = 2000
)
new :
antRadio : IAntRadio *
loggerFactory : ILoggerFactory *
?antDeviceTimeout : int
(* Defaults:
let _antDeviceTimeout = defaultArg antDeviceTimeout 2000
*)
-> AntDeviceCollection
Parameters
- antRadio IAntRadio
- The ANT radio interface.
- loggerFactory ILoggerFactory
- Logger factory to generate type specific ILogger from. Can be null.
- antDeviceTimeout Int32 (Optional)
- ANT device _timeout in milliseconds. The default is 2000 milliseconds.