- All Known Subinterfaces:
public interface ActivableInterface for
PilotingItfcomponents that require activation.
Activable PilotingItfcomponent needs to be activated before most of its API can be operated (except stated otherwise in the component documentation. This mainly concerns settings APIs).
Activable PilotingItfcomponent may be active at a time when the drone is connected, and all drone provide a default component that is always activated when no other component is active anymore.
Nested Class Summary
Nested Classes Modifier and Type Interface Description
Activable.StatePiloting interface state.
@NonNull 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
boolean deactivate()Deactivates this piloting interface.
This will activate another piloting interface (usually the default one).
falsein case the piloting interface cannot be deactivated at this point