enum classafParrotSdk2::ExitStrategy
sys::Obj sys::Enum afParrotSdk2::ExitStrategy
@Serializable { simple=true }
Governs what the drone should do if the program exists whilst flying. Default is land.
- crashLand
- const static ExitStrategy crashLand := ...- Cuts the drone's engines, forcing a crash landing. 
- fromStr
- static new fromStr(Str name, Bool checked := true)- Return the ExitStrategy instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr. 
- hover
- const static ExitStrategy hover := ...- Sends a - stop()command.
- land
- const static ExitStrategy land := ...- Sends a - land()command.
- nothing
- const static ExitStrategy nothing := ...- Do nothing, let the drone continue doing whatever it was last told to do. 
- vals
- const static ExitStrategy[] vals := ...- List of ExitStrategy values indexed by ordinal