KillSwitch

KillSwitch peripheral interface

This component allows to configure and activate the drone's kill-switch feature.

This peripheral can be obtained from a drone using: drone.getPeripheral(KillSwitch::class.java)

See also

Drone.getPeripheral

Types

Link copied to clipboard

Identifies how the kill-switch has been activated.

Link copied to clipboard

Kill-switch mode.

Properties

Link copied to clipboard

Identifies how kill-switch has been activated; null if kill-switch has not been activated yet.

Link copied to clipboard

Tells whether the kill-switch has been activated yet.

Link copied to clipboard

Setting for configuring the kill-switch mode.

Link copied to clipboard

Setting for configuring the secure activation message.

Functions

Link copied to clipboard
abstract fun activate(): Boolean

Activates kill-switch.