Skip to main content

ADS-B Management Class

interface IADSBManager

Description: ADSB Management Class

method onDeviceDestroy

abstract fun onDeviceDestroy()

Description: Device destruction.

Input Parameters: None.

Output Parameters: None.

Related Parameters: None.

method setWarnShowLevel

abstract fun setWarnShowLevel(level: WarnShowLevelEnum)

Description: Sets the display level for ADSB warnings.

Input Parameters: level: Warning level [WarnShowLevelEnum].

Output Parameters: None.

Related Parameters: WarnShowLevelEnum

method open

abstract fun open(open: Boolean)

Description: Enables or disables ADSB warnings.

Input Parameters: open: Switch state.

Output Parameters: None.

Related Parameters: None.

method updateDroneConnected

abstract fun updateDroneConnected(connect: Boolean)

Description: Updates the aircraft connection status, used to handle the logic of the ads-bManager when the aircraft goes online or offline.

Input Parameters: connect: Connection status.

Output Parameters: None.

Related Parameters: None.