Class: MinimumsUnitsManager
A manager for minimums units. Keeps the minimums unit in sync with the Garmin altitude display units setting.
Constructors
constructor
• new MinimumsUnitsManager(bus
): MinimumsUnitsManager
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
Defined in
src/garminsdk/minimums/MinimumsUnitsManager.ts:21
Methods
destroy
▸ destroy(): void
Destroys this manager.
Returns
void
Defined in
src/garminsdk/minimums/MinimumsUnitsManager.ts:52
init
▸ init(): void
Initializes this manager. Once initialized, this manager will automatically keep the minimums unit in sync with the Garmin altitude display units setting until it is destroyed.
Returns
void
Throws
Error if this manager has been destroyed.
Defined in
src/garminsdk/minimums/MinimumsUnitsManager.ts:29