Enum Class TuneIfc.TuneResult

java.lang.Object
java.lang.Enum<TuneIfc.TuneResult>
org.ka2ddo.yaac.io.TuneIfc.TuneResult
All Implemented Interfaces:
Serializable, Comparable<TuneIfc.TuneResult>, Constable
Enclosing interface:
TuneIfc

public static enum TuneIfc.TuneResult extends Enum<TuneIfc.TuneResult>
These enum values report the results of calling the TuneIfc.tuneForRepeater(AX25Message) method.
Author:
Andrew Pavlin, KA2DDO
  • Enum Constant Details

    • SUCCESS

      public static final TuneIfc.TuneResult SUCCESS
      Tuning attempt succeeded.
    • UNSUPPORTED_FREQ

      public static final TuneIfc.TuneResult UNSUPPORTED_FREQ
      The radio does not support the frequency in the message.
    • UNSUPPORTED_MODE

      public static final TuneIfc.TuneResult UNSUPPORTED_MODE
      The radio does not support the modulation mode in the message.
    • UNTUNABLE_RADIO

      public static final TuneIfc.TuneResult UNTUNABLE_RADIO
      The radio is untunable because the configuration of the implementor does not support it.
    • INVALID_MSG

      public static final TuneIfc.TuneResult INVALID_MSG
      The specified AX25Message does not describe a repeater.
    • NOT_OFF_APRS

      public static final TuneIfc.TuneResult NOT_OFF_APRS
      Frequency not changed because either dual radio or single radio that is still on APRS frequency.
    • OTHER_ERROR

      public static final TuneIfc.TuneResult OTHER_ERROR
      The tuning attempt failed for some other reason not listed in this enum.
  • Method Details

    • values

      public static TuneIfc.TuneResult[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TuneIfc.TuneResult valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null