getConnectionState

abstract fun getConnectionState(): DeviceState.ConnectionState

Gets the device connection state.

Return

drone connection state