Skip to main content

Class: GarminPrematureDescentModule

Defined in: src/garminsdk/terrain/modules/pda/GarminPrematureDescentModule.ts:42

A Garmin terrain alerting system module that handles premature descent (PDA) alerts.

Implements

Constructors

Constructor

new GarminPrematureDescentModule(options?): GarminPrematureDescentModule

Defined in: src/garminsdk/terrain/modules/pda/GarminPrematureDescentModule.ts:71

Creates a new instance of GarminPrematureDescentModule.

Parameters

ParameterTypeDescription
options?Readonly<GarminPrematureDescentModuleOptions>Options with which to configure the module.

Returns

GarminPrematureDescentModule

Methods

onDestroy()

onDestroy(): void

Defined in: src/garminsdk/terrain/modules/pda/GarminPrematureDescentModule.ts:249

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/pda/GarminPrematureDescentModule.ts:80

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/pda/GarminPrematureDescentModule.ts:85

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