SDK部分pojo对象添加无参数构造函数
This commit is contained in:
@@ -3,4 +3,5 @@ package cn.wildfirechat.pojos;
|
|||||||
public class ConferenceJoinEvent {
|
public class ConferenceJoinEvent {
|
||||||
public String userId;
|
public String userId;
|
||||||
public String roomId;
|
public String roomId;
|
||||||
|
public boolean screenSharing;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,5 @@ package cn.wildfirechat.pojos;
|
|||||||
public class ConferenceLeaveEvent {
|
public class ConferenceLeaveEvent {
|
||||||
public String userId;
|
public String userId;
|
||||||
public String roomId;
|
public String roomId;
|
||||||
|
public boolean screenSharing;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,4 +4,5 @@ public class ConferencePublishEvent {
|
|||||||
public String userId;
|
public String userId;
|
||||||
public boolean video;
|
public boolean video;
|
||||||
public String roomId;
|
public String roomId;
|
||||||
|
public boolean screenSharing;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,5 @@ package cn.wildfirechat.pojos;
|
|||||||
public class ConferenceUnpublishEvent {
|
public class ConferenceUnpublishEvent {
|
||||||
public String userId;
|
public String userId;
|
||||||
public String roomId;
|
public String roomId;
|
||||||
|
public boolean screenSharing;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ public class ForwardDeviceMessageData {
|
|||||||
private int type;
|
private int type;
|
||||||
private byte[] data;
|
private byte[] data;
|
||||||
|
|
||||||
|
public ForwardDeviceMessageData() {
|
||||||
|
}
|
||||||
|
|
||||||
public ForwardDeviceMessageData(String deviceId, int type, byte[] data) {
|
public ForwardDeviceMessageData(String deviceId, int type, byte[] data) {
|
||||||
this.deviceId = deviceId;
|
this.deviceId = deviceId;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
|
|||||||
@@ -31,6 +31,9 @@ public class GroupNotificationBinaryContent {
|
|||||||
//value2(member or something)
|
//value2(member or something)
|
||||||
private String m;
|
private String m;
|
||||||
|
|
||||||
|
public GroupNotificationBinaryContent() {
|
||||||
|
}
|
||||||
|
|
||||||
public GroupNotificationBinaryContent(String g, String o, String n, String m) {
|
public GroupNotificationBinaryContent(String g, String o, String n, String m) {
|
||||||
this.g = g;
|
this.g = g;
|
||||||
this.o = o;
|
this.o = o;
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ public class InputChatroomMute {
|
|||||||
private String chatroomId;
|
private String chatroomId;
|
||||||
private int status;
|
private int status;
|
||||||
|
|
||||||
|
public InputChatroomMute() {
|
||||||
|
}
|
||||||
|
|
||||||
public InputChatroomMute(String chatroomId, int status) {
|
public InputChatroomMute(String chatroomId, int status) {
|
||||||
this.chatroomId = chatroomId;
|
this.chatroomId = chatroomId;
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ public class InputGetToken {
|
|||||||
private String clientId;
|
private String clientId;
|
||||||
private Integer platform;
|
private Integer platform;
|
||||||
|
|
||||||
|
public InputGetToken() {
|
||||||
|
}
|
||||||
|
|
||||||
public InputGetToken(String userId, String clientId, int platform) {
|
public InputGetToken(String userId, String clientId, int platform) {
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
this.clientId = clientId;
|
this.clientId = clientId;
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ public class InputGetUserInfo {
|
|||||||
private String name;
|
private String name;
|
||||||
private String mobile;
|
private String mobile;
|
||||||
|
|
||||||
|
public InputGetUserInfo() {
|
||||||
|
}
|
||||||
|
|
||||||
public InputGetUserInfo(String userId, String name, String mobile) {
|
public InputGetUserInfo(String userId, String name, String mobile) {
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ public class InputOutputUserBlockStatus {
|
|||||||
private String userId;
|
private String userId;
|
||||||
private int status;
|
private int status;
|
||||||
|
|
||||||
|
public InputOutputUserBlockStatus() {
|
||||||
|
}
|
||||||
|
|
||||||
public InputOutputUserBlockStatus(String userId, int status) {
|
public InputOutputUserBlockStatus(String userId, int status) {
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ public class OutputCreateDevice {
|
|||||||
private String token;
|
private String token;
|
||||||
private String secret;
|
private String secret;
|
||||||
|
|
||||||
|
public OutputCreateDevice() {
|
||||||
|
}
|
||||||
|
|
||||||
public OutputCreateDevice(String userId, String token, String secret) {
|
public OutputCreateDevice(String userId, String token, String secret) {
|
||||||
this.deviceId = userId;
|
this.deviceId = userId;
|
||||||
this.token = token;
|
this.token = token;
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ public class OutputCreateRobot {
|
|||||||
private String userId;
|
private String userId;
|
||||||
private String secret;
|
private String secret;
|
||||||
|
|
||||||
|
public OutputCreateRobot() {
|
||||||
|
}
|
||||||
|
|
||||||
public OutputCreateRobot(String userId, String secret) {
|
public OutputCreateRobot(String userId, String secret) {
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
this.secret = secret;
|
this.secret = secret;
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ public class OutputCreateUser {
|
|||||||
private String userId;
|
private String userId;
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
|
public OutputCreateUser() {
|
||||||
|
}
|
||||||
|
|
||||||
public OutputCreateUser(String userId, String name) {
|
public OutputCreateUser(String userId, String name) {
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ public class OutputDevice {
|
|||||||
private List<String> owners;
|
private List<String> owners;
|
||||||
private String extra;
|
private String extra;
|
||||||
|
|
||||||
|
public OutputDevice() {
|
||||||
|
}
|
||||||
|
|
||||||
public OutputDevice(String deviceId, String token, String secret) {
|
public OutputDevice(String deviceId, String token, String secret) {
|
||||||
this.deviceId = deviceId;
|
this.deviceId = deviceId;
|
||||||
this.token = token;
|
this.token = token;
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ public class OutputLoginData {
|
|||||||
private String userId;
|
private String userId;
|
||||||
private String token;
|
private String token;
|
||||||
|
|
||||||
|
public OutputLoginData() {
|
||||||
|
}
|
||||||
|
|
||||||
public OutputLoginData(String userId, String token) {
|
public OutputLoginData(String userId, String token) {
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
this.token = token;
|
this.token = token;
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ public class OutputNotifyChannelSubscribeStatus {
|
|||||||
private String channelId;
|
private String channelId;
|
||||||
private int status;
|
private int status;
|
||||||
|
|
||||||
|
public OutputNotifyChannelSubscribeStatus() {
|
||||||
|
}
|
||||||
|
|
||||||
public OutputNotifyChannelSubscribeStatus(String userId, String channelId, boolean subscirbed) {
|
public OutputNotifyChannelSubscribeStatus(String userId, String channelId, boolean subscirbed) {
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
this.channelId = channelId;
|
this.channelId = channelId;
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ public class OutputRouteData { ;
|
|||||||
private int shortPort;
|
private int shortPort;
|
||||||
private String secret;
|
private String secret;
|
||||||
|
|
||||||
|
public OutputRouteData() {
|
||||||
|
}
|
||||||
|
|
||||||
public OutputRouteData(List<String> serverIPs, int longPort, int shortPort, String secret) {
|
public OutputRouteData(List<String> serverIPs, int longPort, int shortPort, String secret) {
|
||||||
this.serverIPs = serverIPs;
|
this.serverIPs = serverIPs;
|
||||||
this.longPort = longPort;
|
this.longPort = longPort;
|
||||||
|
|||||||
Reference in New Issue
Block a user