FitnessEquipmentGetFitnessEquipment Method
Gets the fitness equipment if the equipment type is known.
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.FitnessEquipmentAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
public static FitnessEquipment? GetFitnessEquipment(
byte[] dataPage,
ChannelId channelId,
IAntChannel antChannel,
ILoggerFactory loggerFactory,
int timeout
)
Public Shared Function GetFitnessEquipment (
dataPage As Byte(),
channelId As ChannelId,
antChannel As IAntChannel,
loggerFactory As ILoggerFactory,
timeout As Integer
) As FitnessEquipment
public:
static FitnessEquipment^ GetFitnessEquipment(
array<unsigned char>^ dataPage,
ChannelId^ channelId,
IAntChannel^ antChannel,
ILoggerFactory^ loggerFactory,
int timeout
)
static member GetFitnessEquipment :
dataPage : byte[] *
channelId : ChannelId *
antChannel : IAntChannel *
loggerFactory : ILoggerFactory *
timeout : int -> FitnessEquipment
- dataPage Byte
- The data page.
- channelId ChannelId
- The channel identifier.
- antChannel IAntChannel
- The ant channel.
- loggerFactory ILoggerFactory
- The logger factory.
- timeout Int32
- The timeout.
FitnessEquipmentOne of the known fitness equipment classes if known, otherwise null.
The specific fitness equipment type can be determined from the general data page or the FE specific data pages. Null will be
returned for all other pages. Therefore, callers of this method need to check for a null return type.