Skip to main content

Class: DefaultGpsIntegrityDataProvider

A default implementation of GpsIntegrityDataProvider.

Implements

Constructors

constructor

new DefaultGpsIntegrityDataProvider(bus, fmsPosIndex): DefaultGpsIntegrityDataProvider

Constructor.

Parameters

NameTypeDescription
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

Defined in

src/garminsdk/navigation/GpsIntegrityDataProvider.ts:44

Properties

fmsPosMode

Readonly fmsPosMode: Subscribable<FmsPositionMode>

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

Implementation of

GpsIntegrityDataProvider.fmsPosMode

Defined in

src/garminsdk/navigation/GpsIntegrityDataProvider.ts:23


isIntegritySufficient

Readonly isIntegritySufficient: Subscribable<boolean>

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

Implementation of

GpsIntegrityDataProvider.isIntegritySufficient

Defined in

src/garminsdk/navigation/GpsIntegrityDataProvider.ts:27

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


init

init(paused?): void

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

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


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


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