TwinParser.setDeviceId(String deviceId) 方法
定义
Setter for device name
public void setDeviceId(String deviceId)
参数
- deviceId
- String
device id A case-sensitive string (up to 128 char long) of ASCII 7-bit alphanumeric chars + {'-', ':', '.', '+', '', '_', '#', '*', '?', '!', '(', ')', ',', '=', '@', ';', '$', '''}
例外
IllegalArgumentException
if the provided device Id is not valid.