Bike Speed Sensor(Channel Id, IAnt Channel, ILoggerBike Speed Sensor, Timeout Options) Constructor
Initializes a new instance of the BikeSpeedSensor class.
Definition
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BikeSpeedAndCadence
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.1.0+bee07ae1f518f90000e3a8eef95ac61052778db9
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.1.0+bee07ae1f518f90000e3a8eef95ac61052778db9
C#
public BikeSpeedSensor(
ChannelId channelId,
IAntChannel antChannel,
ILogger<BikeSpeedSensor> logger,
TimeoutOptions? timeoutOptions
)VB
Public Sub New (
channelId As ChannelId,
antChannel As IAntChannel,
logger As ILogger(Of BikeSpeedSensor),
timeoutOptions As TimeoutOptions
)C++
public:
BikeSpeedSensor(
ChannelId^ channelId,
IAntChannel^ antChannel,
ILogger<BikeSpeedSensor^>^ logger,
TimeoutOptions^ timeoutOptions
)F#
new :
channelId : ChannelId *
antChannel : IAntChannel *
logger : ILogger<BikeSpeedSensor> *
timeoutOptions : TimeoutOptions -> BikeSpeedSensorParameters
- channelId ChannelId
- The channel identifier.
- antChannel IAntChannel
- Channel to send messages to.
- logger ILoggerBikeSpeedSensor
- Logger to use.
- timeoutOptions TimeoutOptions
- Timeout options.