删除了无用类

This commit is contained in:
董宏宇
2021-02-07 13:37:46 +08:00
parent 0ad76f9428
commit ef446d84d5
3 changed files with 0 additions and 57 deletions

1
.idea/gradle.xml generated
View File

@@ -26,7 +26,6 @@
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
<option name="useQualifiedModuleNames" value="true" />
</GradleProjectSettings>
</option>
</component>

View File

@@ -1,10 +0,0 @@
package com.mogo.cloud.live.listener;
import com.mogo.cloud.live.socket.IotMessageType;
/**
* 常连接消息回调用
*/
public interface BizMessageListener {
void onMessageReceived(IotMessageType type, String content);
}

View File

@@ -1,46 +0,0 @@
package com.mogo.cloud.live.socket;
public enum IotMessageType {
//Push 推流消息
MSG_LIVE_PUSH_STATUS(0),
//Cancel car alarm 消息
MSG_CANCEL_CAR_ALARM(1),
//单个文件上传
MSG_UPLOAD_SINGLE_FILE(2),
//切换摄像头
MSG_SWITCH_CAMERA(3),
//组文件上传
MSG_UPLOAD_MULTI_FILE(4),
//抓拍图片上传
MSG_UPLOAD_CAPTURE_PIC(5),
//未知消息
UNKNOWN(-1),
;
private int type;
private IotMessageType(int type) {
this.type = type;
}
public int getType() {
return type;
}
public static IotMessageType getMsgType(int type){
final IotMessageType[] messageTypes = IotMessageType.values();
for(IotMessageType messageType : messageTypes){
if (messageType.getType() == type){
return messageType;
}
}
return UNKNOWN;
}
}