getDeviceType method

String getDeviceType()

Implementation

String getDeviceType() {
  if (!isValid()) {
    throw new ResponseInvalidException();
  } else {
    return _deviceType;
  }
}