disconnectDrone

fun disconnectDrone(@NonNull uid: String): Boolean

Disconnects a drone identified by its uid.

This method can be used to disconnect the drone when connected or to cancel the connection process if the drone is currently connecting.

Return

true if the disconnection process has started, otherwise false

Parameters

uid

uid of the drone to disconnect