Enum Class MultiDeviceSearch.RssiSupport

java.lang.Object
java.lang.Enum<MultiDeviceSearch.RssiSupport>
com.dsi.ant.plugins.antplus.pcc.MultiDeviceSearch.RssiSupport
All Implemented Interfaces:
Serializable, Comparable<MultiDeviceSearch.RssiSupport>, Constable
Enclosing class:
MultiDeviceSearch

public static enum MultiDeviceSearch.RssiSupport extends Enum<MultiDeviceSearch.RssiSupport>
Values representing whether rssi data is available for the current multi search.
  • Enum Constant Details

    • AVAILABLE

      public static final MultiDeviceSearch.RssiSupport AVAILABLE
      Rssi data is available and will be reported.
    • UNAVAILABLE

      public static final MultiDeviceSearch.RssiSupport UNAVAILABLE
      Rssi data is unavailable, the search will only report new devices.
    • UNKNOWN_OLDSERVICE

      public static final MultiDeviceSearch.RssiSupport UNKNOWN_OLDSERVICE
      An old plugin service is in use, so it is unknown whether rssi is supported or not. In this case if rssi is not supported there will be no callbacks to onRssiUpdate. If an app needs to determine this they should wait for a short timeout after the first call to onDeviceFound, since if rssi is supported this function will be followed almost immediately by a call to onRssiUpdate for that device.
  • Method Details

    • values

      public static MultiDeviceSearch.RssiSupport[] 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 MultiDeviceSearch.RssiSupport 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