ActivablePilotingItf
@objc(GSActivablePilotingItf)
public protocol ActivablePilotingItf
Base protocol for the piloting interfaces components that can be activated or deactivated.
-
Piloting interface state. There is only one piloting interface active at a time on a drone.
Declaration
Swift
var state: ActivablePilotingItfState { get }
-
Deactivates this piloting interface.
This will activate an other piloting interface (usually the default one)
Declaration
Swift
func deactivate() -> Bool
Return Value
true
on success,false
if the piloting interface can’t be deactivated