Geocache(ChannelId, IAntChannel, ILoggerGeocache, TimeoutOptions) Constructor

Initializes a new instance of the Geocache class.

Definition

Namespace: SmallEarthTech.AntPlus.DeviceProfiles
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
C#
public Geocache(
	ChannelId channelId,
	IAntChannel antChannel,
	ILogger<Geocache> logger,
	TimeoutOptions? timeoutOptions
)

Parameters

channelId  ChannelId
The channel identifier.
antChannel  IAntChannel
Channel to send messages to.
logger  ILoggerGeocache
Logger to use.
timeoutOptions  TimeoutOptions
Timeout options.

Remarks

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.

See Also