Skip to main content

Class: DefaultGpsIntegrityDataProvider

Defined in: src/garminsdk/navigation/GpsIntegrityDataProvider.ts:19

A default implementation of GpsIntegrityDataProvider.

Implements​

Constructors​

Constructor​

new DefaultGpsIntegrityDataProvider(bus, fmsPosIndex): DefaultGpsIntegrityDataProvider

Defined in: src/garminsdk/navigation/GpsIntegrityDataProvider.ts:44

Constructor.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.
fmsPosIndexnumber | Subscribable<number>The index of the FMS geo-positioning system that is the source of this provider's data.

Returns​

DefaultGpsIntegrityDataProvider

Properties​

fmsPosMode​

readonly fmsPosMode: Subscribable<FmsPositionMode>

Defined in: src/garminsdk/navigation/GpsIntegrityDataProvider.ts:23

The current data mode used by the FMS geo-positioning system.

Implementation of​

GpsIntegrityDataProvider.fmsPosMode


isIntegritySufficient​

readonly isIntegritySufficient: Subscribable<boolean>

Defined in: src/garminsdk/navigation/GpsIntegrityDataProvider.ts:27

Whether the current GPS integrity is sufficient for the current phase of flight.

Implementation of​

GpsIntegrityDataProvider.isIntegritySufficient

Methods​

destroy()​

destroy(): void

Defined in: src/garminsdk/navigation/GpsIntegrityDataProvider.ts:141

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/navigation/GpsIntegrityDataProvider.ts:58

Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.

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/navigation/GpsIntegrityDataProvider.ts:122

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.


resume()​

resume(): void

Defined in: src/garminsdk/navigation/GpsIntegrityDataProvider.ts:103

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.