Treadmill(Channel Id, IAnt Channel, ILoggerTreadmill, Timeout Options) Constructor
Initializes a new instance of the Treadmill class.
Definition
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.FitnessEquipment
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 7.0.0+09c2d7a7f0bf2c05495d6305ac56abb150641a86
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 7.0.0+09c2d7a7f0bf2c05495d6305ac56abb150641a86
C#
public Treadmill(
ChannelId channelId,
IAntChannel antChannel,
ILogger<Treadmill> logger,
TimeoutOptions? timeoutOptions
)VB
Public Sub New (
channelId As ChannelId,
antChannel As IAntChannel,
logger As ILogger(Of Treadmill),
timeoutOptions As TimeoutOptions
)C++
public:
Treadmill(
ChannelId^ channelId,
IAntChannel^ antChannel,
ILogger<Treadmill^>^ logger,
TimeoutOptions^ timeoutOptions
)F#
new :
channelId : ChannelId *
antChannel : IAntChannel *
logger : ILogger<Treadmill> *
timeoutOptions : TimeoutOptions -> TreadmillParameters
- channelId ChannelId
- The channel identifier.
- antChannel IAntChannel
- Channel to send messages to.
- logger ILoggerTreadmill
- Logger to use.
- timeoutOptions TimeoutOptions
- Timeout options.