Meeting SDK for Android API Reference
Loading...
Searching...
No Matches
RoomSystemDevice.java
Go to the documentation of this file.
1package us.zoom.sdk;
2
3import us.zoom.libtools.utils.ZmStringUtils;
4
5
10public class RoomSystemDevice {
11
15 public final static int ROOMDEVICE_H323 = 1;
19 public final static int ROOMDEVICE_SIP = 2;
23 public final static int ROOMDEVICE_BOTH = 3;
24
28 public final static int ROOMENCRYPT_NO = 0;
32 public final static int ROOMENCRYPT_YES = 1;
36 public final static int ROOMENCRYPT_AUTO = 2;
37
38 private String mName;
39 private String mIp;
40 private String mE164num;
43
45
46 }
47
56 public RoomSystemDevice(String mName, String mIp, String mE164num,
57 int mDeviceType, int mEncrypt) {
58 super();
59 this.mName = mName;
60 this.mIp = mIp;
61 this.mE164num = mE164num;
62 this.mDeviceType = mDeviceType;
63 this.mEncrypt = mEncrypt;
64 }
65
71 public String getName() {
72 return mName;
73 }
74
79 public void setName(String name) {
80 this.mName = name;
81 }
82
88 public String getIp() {
89 return mIp;
90 }
91
97 public void setIp(String ip) {
98 this.mIp = ip;
99 }
100
105 public String getE164num() {
106 return mE164num;
107 }
108
113 public void setE164num(String e164num) {
114 this.mE164num = e164num;
115 }
116
121 public int getDeviceType() {
122 return mDeviceType;
123 }
124
129 public void setDeviceType(int deviceType) {
130 this.mDeviceType = deviceType;
131 }
132
138 public int getEncrypt() {
139 return mEncrypt;
140 }
141
147 public void setEncrypt(int encrypt) {
148 this.mEncrypt = encrypt;
149 }
150
156 public String getAddress() {
157 if (!ZmStringUtils.isEmptyOrNull(mIp)) {
158 return mIp;
159 }
160
161 if (!ZmStringUtils.isEmptyOrNull(mE164num)) {
162 return mE164num;
163 }
164
165 return "";
166 }
167
173 public String getDisplayName() {
174 if (!ZmStringUtils.isEmptyOrNull(mName)) {
175 return mName;
176 }
177
178 return this.getAddress();
179 }
180
181}
Meeting room device class.
int getDeviceType()
Get device type.
int getEncrypt()
Get encryption type.
void setDeviceType(int deviceType)
Set device type.
void setEncrypt(int encrypt)
Set encryption type.
RoomSystemDevice(String mName, String mIp, String mE164num, int mDeviceType, int mEncrypt)