Skip to main content

Class: GarminFlightIntoTerrainModule

Defined in: src/garminsdk/terrain/modules/fit/GarminFlightIntoTerrainModule.ts:64

A Garmin terrain alerting system module that handles flight into terrain (FIT) alerts.

Implements​

Constructors​

Constructor​

new GarminFlightIntoTerrainModule(options): GarminFlightIntoTerrainModule

Defined in: src/garminsdk/terrain/modules/fit/GarminFlightIntoTerrainModule.ts:89

Creates a new instance of GarminFlightIntoTerrainModule.

Parameters​

ParameterTypeDescription
optionsReadonly<GarminFlightIntoTerrainModuleOptions>Options with which to configure the module.

Returns​

GarminFlightIntoTerrainModule

Methods​

onDestroy()​

onDestroy(): void

Defined in: src/garminsdk/terrain/modules/fit/GarminFlightIntoTerrainModule.ts:320

A method that is called when this module's parent system is destroyed.

Returns​

void

Implementation of​

TerrainSystemModule.onDestroy


onInit()​

onInit(): void

Defined in: src/garminsdk/terrain/modules/fit/GarminFlightIntoTerrainModule.ts:117

A method that is called when this module is attached to an initialized system, or when this module's parent system is initialized.

Returns​

void

Implementation of​

TerrainSystemModule.onInit


onUpdate()​

onUpdate(operatingMode, statuses, inhibits, data, alertController): void

Defined in: src/garminsdk/terrain/modules/fit/GarminFlightIntoTerrainModule.ts:122

A method that is called every time this module's parent system is updated.

Parameters​

ParameterTypeDescription
operatingModeTerrainSystemOperatingModeThe parent system's current operating mode.
statusesReadonlySet<string>The parent system's currently active status flags.
inhibitsReadonlySet<string>The parent system's currently active inhibits.
dataReadonly<TerrainSystemData>The data provided by the parent system.
alertControllerTerrainSystemAlertControllerA controller for alerts issued by the parent system.

Returns​

void

Implementation of​

TerrainSystemModule.onUpdate