Geocache(ChannelId, IAntChannel, ILoggerGeocache, TimeoutOptions) Constructor
Initializes a new instance of the
Geocache class.
Namespace: SmallEarthTech.AntPlus.DeviceProfilesAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
public Geocache(
ChannelId channelId,
IAntChannel antChannel,
ILogger<Geocache> logger,
TimeoutOptions? timeoutOptions
)
Public Sub New (
channelId As ChannelId,
antChannel As IAntChannel,
logger As ILogger(Of Geocache),
timeoutOptions As TimeoutOptions
)
public:
Geocache(
ChannelId^ channelId,
IAntChannel^ antChannel,
ILogger<Geocache^>^ logger,
TimeoutOptions^ timeoutOptions
)
new :
channelId : ChannelId *
antChannel : IAntChannel *
logger : ILogger<Geocache> *
timeoutOptions : TimeoutOptions -> Geocache
Parameters
- channelId ChannelId
- The channel identifier.
- antChannel IAntChannel
- Channel to send messages to.
- logger ILoggerGeocache
- Logger to use.
- timeoutOptions TimeoutOptions
- Timeout options.
The geocache typically broadcasts its presence at 0.5Hz. The geocache changes its message rate to 4Hz upon
receiving a request such as
RequestPinPage(UInt32). Set the timeout appropriate for your use case.