Package com.zello.sdk

Enum Class BluetoothAccessoryType

java.lang.Object
java.lang.Enum<BluetoothAccessoryType>
com.zello.sdk.BluetoothAccessoryType
All Implemented Interfaces:
Serializable, Comparable<BluetoothAccessoryType>, Constable

public enum BluetoothAccessoryType extends Enum<BluetoothAccessoryType>
The BluetoothAccessoryType enum represents types of Bluetooth accessories.
  • Enum Constant Details

    • LE

      public static final BluetoothAccessoryType LE
      A PTT button connected via Low Energy Bluetooth connection.
    • SPP

      public static final BluetoothAccessoryType SPP
      A PTT button connected via serial protocol over Bluetooth.
  • Method Details

    • values

      public static BluetoothAccessoryType[] 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 BluetoothAccessoryType 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