Enum Class Rssi.RssiMeasurementType

java.lang.Object
java.lang.Enum<Rssi.RssiMeasurementType>
com.dsi.ant.message.Rssi.RssiMeasurementType
All Implemented Interfaces:
Serializable, Comparable<Rssi.RssiMeasurementType>, Constable
Enclosing class:
Rssi

public static enum Rssi.RssiMeasurementType extends Enum<Rssi.RssiMeasurementType>
The possible measurement types for RSSI data.
Since:
4.0
  • Enum Constant Details

  • Method Details

    • values

      public static Rssi.RssiMeasurementType[] 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 Rssi.RssiMeasurementType 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
    • getType

      public int getType()
      Gets the raw value of this measurement type. Applications should use the enumeration values directly.
      Returns:
      The raw value of the measurement type.
      Since:
      4.0
    • convertToRssiMeasurementType

      public static Rssi.RssiMeasurementType convertToRssiMeasurementType(int type)
      Creates the measurement type from the raw value. Applications should use the enumeration values directly.
      Parameters:
      type - The raw value for the measurement type.
      Returns:
      The RssiMeasurementType.
      Since:
      4.0