Skip to main content

Class: DefaultVSpeedAnnunciationDataProvider

Defined in: src/garminsdk/components/nextgenpfd/airspeed/VSpeedAnnunciationDataProvider.ts:39

A default implementation of VSpeedAnnunciationDataProvider.

Implements

Constructors

Constructor

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

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

Constructor.

Parameters

ParameterTypeDescription
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

Properties

annunciation

readonly annunciation: Subscribable<VSpeedAnnunciation>

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

The currently active V-speed annunciation.

Implementation of

VSpeedAnnunciationDataProvider.annunciation

Methods

destroy()

destroy(): void

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

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


init()

init(paused): void

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

Initializes this data provider. Once initialized

Parameters

ParameterTypeDefault 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.


pause()

pause(): void

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

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.


reset()

reset(): void

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

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

Returns

void


resume()

resume(): void

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

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.