getDeviceName method

String getDeviceName()

Implementation

String getDeviceName() {
  if (!isValid()) {
    throw new ResponseInvalidException();
  } else {
    return _deviceName;
  }
}