Skip to main content

Class: GarminVoiceCalloutModule

Defined in: src/garminsdk/terrain/modules/voicecallout/GarminVoiceCalloutModule.ts:42

A Garmin terrain alerting system module that handles touchdown voice callouts.

Implements​

Constructors​

Constructor​

new GarminVoiceCalloutModule(options?): GarminVoiceCalloutModule

Defined in: src/garminsdk/terrain/modules/voicecallout/GarminVoiceCalloutModule.ts:59

Creates a new instance of GarminVoiceCalloutModule.

Parameters​

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

Returns​

GarminVoiceCalloutModule

Methods​

onDestroy()​

onDestroy(): void

Defined in: src/garminsdk/terrain/modules/voicecallout/GarminVoiceCalloutModule.ts:206

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/voicecallout/GarminVoiceCalloutModule.ts:77

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/voicecallout/GarminVoiceCalloutModule.ts:82

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