添加utf-8解析设备信息

This commit is contained in:
648540858
2021-09-13 16:08:40 +08:00
parent 69734af3ba
commit 5e8a7ce21e
11 changed files with 244 additions and 16 deletions

View File

@@ -99,6 +99,18 @@ public class Device {
*/
private String mediaServerId;
/**
* 首次注册
*/
private boolean firsRegister;
/**
* 字符集, 支持 utf-8 与 gb2312
*/
private String charset ;
public String getDeviceId() {
return deviceId;
}
@@ -242,4 +254,20 @@ public class Device {
public void setMediaServerId(String mediaServerId) {
this.mediaServerId = mediaServerId;
}
public boolean isFirsRegister() {
return firsRegister;
}
public void setFirsRegister(boolean firsRegister) {
this.firsRegister = firsRegister;
}
public String getCharset() {
return charset;
}
public void setCharset(String charset) {
this.charset = charset;
}
}