Skip to main content

IAutelDroneListener

interface IAutelDroneListener

Description: Drone connect Listener

method onDroneChangedListener

fun onDroneChangedListener(connected: Boolean, drone: IBaseDevice)

Description: Monitors the connection status of drone equipment.

Input parameters: connected: Boolean Flag for drone connection True:drone is connected,False: drone is not connected . drone: drone device

Output parameter: None。

Related parameters: None。

method onCameraAbilityFetchListener

fun onCameraAbilityFetchListener(fetched: Boolean)

Description: Notification of camera capability set change

Input parameters: fetced: Boolean Flag, True: updated the ability set file; false: The plane broke the chain

Output parameter: None。

Related parameters: None。

method onMainServiceValid

fun onMainServiceValid(valid: Boolean, drone: IBaseDevice)

Description: Checks the main service is available.

Input parameters: valid: Boolean Flag, True: if service is available, false: if service is not available. drone: drone device.

Output parameter: None。

Related parameters: None。