Class OptionalSetting

  • Direct Known Subclasses:
    OptionalBooleanSetting, OptionalDoubleSetting

    public abstract class OptionalSetting
    extends Setting
    Represents a drone setting that may be unsupported depending on the drone model and/or firmware version or may be unavailable at the time of request.
    • Constructor Detail

      • OptionalSetting

        public OptionalSetting()
    • Method Detail

      • isAvailable

        public abstract boolean isAvailable()
        Tells whether the setting is currently available.

        Setting may be completely unsupported depending on the drone model and/or firmware version, or may also be unavailable at the present time. In such cases, this method returns false

        Returns:
        true if the setting is available, false otherwise