typeAsString method

String typeAsString()

Returns a string representation of this remote device's type.

Implementation

String typeAsString() {
  switch (type) {
    case BLE:
      return "BLE";
    case WIFI:
      return "WIFI";
    default:
      return "UNKNOWN";
  }
}