Skip to main content

Class: DefaultVSpeedAnnunciationDataProvider

A default implementation of VSpeedAnnunciationDataProvider.

Implements

Constructors

constructor

new DefaultVSpeedAnnunciationDataProvider(bus, vSpeedSettingManager, takeoffVSpeedNames, landingVSpeedNames, options?): DefaultVSpeedAnnunciationDataProvider

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.
vSpeedSettingManagerUserSettingManager<VSpeedUserSettingTypes>A manager for V-speed user settings.
takeoffVSpeedNamesIterable<string>The names of every takeoff V-speed.
landingVSpeedNamesIterable<string>The names of every landing V-speed.
options?Readonly<DefaultVSpeedAnnunciationDataProviderOptions>Options with which to configure the data provider.

Returns

DefaultVSpeedAnnunciationDataProvider

Defined in

src/garminsdk/components/nextgenpfd/airspeed/VSpeedAnnunciationDataProvider.ts:81

Properties

annunciation

Readonly annunciation: Subscribable<VSpeedAnnunciation>

The currently active V-speed annunciation.

Implementation of

VSpeedAnnunciationDataProvider.annunciation

Defined in

src/garminsdk/components/nextgenpfd/airspeed/VSpeedAnnunciationDataProvider.ts:47

Methods

destroy

destroy(): void

Destroys this data provider. Once destroyed, this data provider will no longer update its provided data, and can no longer be paused or resumed.

Returns

void

Defined in

src/garminsdk/components/nextgenpfd/airspeed/VSpeedAnnunciationDataProvider.ts:243


init

init(paused?): void

Initializes this data provider. Once initialized

Parameters

NameTypeDefault valueDescription
pausedbooleanfalseWhether to initialize this data provider as paused. If true, this data provider will provide an initial set of data but will not update the provided data until it is resumed. Defaults to false.

Returns

void

Throws

Error if this data provider is dead.

Defined in

src/garminsdk/components/nextgenpfd/airspeed/VSpeedAnnunciationDataProvider.ts:115


pause

pause(): void

Pauses this data provider. Once paused, this data provider will not update its data until it is resumed.

Returns

void

Throws

Error if this data provider is dead.

Defined in

src/garminsdk/components/nextgenpfd/airspeed/VSpeedAnnunciationDataProvider.ts:211


reset

reset(): void

Resets this data provider to provide an annunciation type of VSpeedAnnunciation.None.

Returns

void

Defined in

src/garminsdk/components/nextgenpfd/airspeed/VSpeedAnnunciationDataProvider.ts:235


resume

resume(): void

Resumes this data provider. Once resumed, this data provider will continuously update its data until paused or destroyed.

Returns

void

Throws

Error if this data provider is dead.

Defined in

src/garminsdk/components/nextgenpfd/airspeed/VSpeedAnnunciationDataProvider.ts:188