Interface Activable

    • Method Detail

      • getState

        Activable.State getState()
        Gets the piloting interface's current state.

        There is only one active piloting interface at a time on a drone.

        this piloting interface's current state
      • deactivate

        boolean deactivate()
        Deactivates this piloting interface.

        This will activate another piloting interface (usually the default one).

        true on success, false in case the piloting interface cannot be deactivated at this point