Tracker(Channel Id, IAnt Channel, ILoggerTracker, Int 32) Constructor
Initializes a new instance of the Tracker class.
Definition
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.AssetTracker
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
C#
public Tracker(
ChannelId channelId,
IAntChannel antChannel,
ILogger<Tracker> logger,
int timeout
)VB
Public Sub New (
channelId As ChannelId,
antChannel As IAntChannel,
logger As ILogger(Of Tracker),
timeout As Integer
)C++
public:
Tracker(
ChannelId^ channelId,
IAntChannel^ antChannel,
ILogger<Tracker^>^ logger,
int timeout
)F#
new :
channelId : ChannelId *
antChannel : IAntChannel *
logger : ILogger<Tracker> *
timeout : int -> TrackerParameters
- channelId ChannelId
- The channel identifier.
- antChannel IAntChannel
- Channel to send messages to.
- logger ILoggerTracker
- Logger to use.
- timeout Int32
- Time in milliseconds before firing DeviceWentOffline. To disable the device timeout, set the timeout argument to -1 and skip setting the missedMessages argument.