Class: NavEventsPublisher
Publishes select NavEvents topics in lieu of NavProcessor.
Constructors
constructor
• new NavEventsPublisher(bus
): NavEventsPublisher
Creates an instance of NavEventPublisher.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
Defined in
src/garminsdk/navigation/NavEventsPublisher.ts:15
Methods
onUpdate
▸ onUpdate(): void
A callback called when this publisher receives an update cycle.
Returns
void
Defined in
src/garminsdk/navigation/NavEventsPublisher.ts:49
startPublish
▸ startPublish(): void
Start publishing.
Returns
void
Defined in
src/garminsdk/navigation/NavEventsPublisher.ts:21
stopPublish
▸ stopPublish(): void
Stop publishing.
Returns
void
Defined in
src/garminsdk/navigation/NavEventsPublisher.ts:36