TwinParser.setDeviceId(String deviceId) Method

定义

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.

适用于