Class: GarminAdsb
A Garmin ADS-B system.
Hierarchy
Adsb
↳
GarminAdsb
Constructors
constructor
• new GarminAdsb(bus
): GarminAdsb
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
Inherited from
Adsb.constructor
Defined in
src/sdk/traffic/Adsb.ts:34
Properties
bus
• Protected
Readonly
bus: EventBus
The event bus.
Inherited from
Adsb.bus
Defined in
src/sdk/traffic/Adsb.ts:34
eventSubscriber
• Protected
Readonly
eventSubscriber: EventSubscriber
<AdsbEvents
>
Inherited from
Adsb.eventSubscriber
Defined in
src/sdk/traffic/Adsb.ts:28
operatingMode
• Protected
Readonly
operatingMode: Subject
<AdsbOperatingMode
>
Inherited from
Adsb.operatingMode
Defined in
src/sdk/traffic/Adsb.ts:26
Methods
getEventSubscriber
▸ getEventSubscriber(): EventSubscriber
<AdsbEvents
>
Gets an event bus subscriber for TCAS events.
Returns
EventSubscriber
<AdsbEvents
>
an event bus subscriber for TCAS events..
Inherited from
Adsb.getEventSubscriber
Defined in
src/sdk/traffic/Adsb.ts:57
getOperatingMode
▸ getOperatingMode(): AdsbOperatingMode
Gets this system's operating mode.
Returns
AdsbOperatingMode
This system's operating mode.
Inherited from
Adsb.getOperatingMode
Defined in
src/sdk/traffic/Adsb.ts:41
init
▸ init(): void
Returns
void
Inherit Doc
Overrides
Adsb.init
Defined in
src/garminsdk/traffic/GarminAdsb.ts:12
setOperatingMode
▸ setOperatingMode(mode
): void
Sets this system's operating mode.
Parameters
Name | Type | Description |
---|---|---|
mode | AdsbOperatingMode | The new operating mode. |
Returns
void
Inherited from
Adsb.setOperatingMode
Defined in
src/sdk/traffic/Adsb.ts:49