Class: DefaultRadarAltimeterDataProvider
A default implementation of RadarAltimeterDataProvider.
Implements
Constructors
constructor
• new DefaultRadarAltimeterDataProvider(bus
): DefaultRadarAltimeterDataProvider
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
DefaultRadarAltimeterDataProvider
Defined in
src/garminsdk/components/nextgenpfd/altimeter/RadarAltimeterDataProvider.ts:64
Properties
isDataFailed
• Readonly
isDataFailed: Subscribable
<boolean
>
Whether radar altitude data is in a failure state.
Implementation of
RadarAltimeterDataProvider.isDataFailed
Defined in
src/garminsdk/components/nextgenpfd/altimeter/RadarAltimeterDataProvider.ts:47
radarAlt
• Readonly
radarAlt: Subscribable
<number
>
The current radar altitude, in feet, or NaN
if the radar altitude is above the maximum threshold (2500 feet).
Implementation of
RadarAltimeterDataProvider.radarAlt
Defined in
src/garminsdk/components/nextgenpfd/altimeter/RadarAltimeterDataProvider.ts:43
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/altimeter/RadarAltimeterDataProvider.ts:180
init
▸ init(paused?
): void
Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
paused | boolean | false | Whether 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/altimeter/RadarAltimeterDataProvider.ts:74
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/altimeter/RadarAltimeterDataProvider.ts:158
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/altimeter/RadarAltimeterDataProvider.ts:138