AntCollection Constructor
Initializes a new instance of the
AntCollection class. The ANT radio is initialized for continuous scan mode.
Namespace: SmallEarthTech.AntPlus.Extensions.HostingAssembly: SmallEarthTech.AntPlus.Extensions.Hosting (in SmallEarthTech.AntPlus.Extensions.Hosting.dll) Version: 1.2.1+506fd73c3b72ad19a414fa5c6d86694cac54d86e
public AntCollection(
IServiceProvider services,
IAntRadio antRadio,
ILogger<AntCollection> logger,
IOptions<TimeoutOptions> options
)
Public Sub New (
services As IServiceProvider,
antRadio As IAntRadio,
logger As ILogger(Of AntCollection),
options As IOptions(Of TimeoutOptions)
)
public:
AntCollection(
IServiceProvider^ services,
IAntRadio^ antRadio,
ILogger<AntCollection^>^ logger,
IOptions<TimeoutOptions^>^ options
)
new :
services : IServiceProvider *
antRadio : IAntRadio *
logger : ILogger<AntCollection> *
options : IOptions<TimeoutOptions> -> AntCollection
Parameters
- services IServiceProvider
- The service provider.
- antRadio IAntRadio
- The ANT radio.
- logger ILoggerAntCollection
- The logger.
- options IOptionsTimeoutOptions
- The ANT device timeout options.