From fdcf461fbfa3bcd650685743e891ad3357898f0c Mon Sep 17 00:00:00 2001
From: 562935844@qq.com
Date: 星期四, 31 八月 2023 17:36:50 +0800
Subject: [PATCH] 更新sdk

---
 HDLSDK/hdl-socket/src/main/java/com/hdl/sdk/socket/annotation/ConnectStatus.java |   17 +++++------------
 1 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/HDLSDK/hdl-socket/src/main/java/com/hdl/sdk/socket/annotation/ConnectStatus.java b/HDLSDK/hdl-socket/src/main/java/com/hdl/sdk/socket/annotation/ConnectStatus.java
index 2ec7809..962fb2e 100644
--- a/HDLSDK/hdl-socket/src/main/java/com/hdl/sdk/socket/annotation/ConnectStatus.java
+++ b/HDLSDK/hdl-socket/src/main/java/com/hdl/sdk/socket/annotation/ConnectStatus.java
@@ -1,31 +1,24 @@
 package com.hdl.sdk.socket.annotation;
 
-import androidx.annotation.IntDef;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
 
 /**
  * Created by Tong on 2021/9/22.
  */
-@Target({ElementType.TYPE_PARAMETER, ElementType.PARAMETER})
-@IntDef({ConnectStatus.CONNECTING,
-        ConnectStatus.CONNECTED,
-        ConnectStatus.DISCONNECT})
-public @interface ConnectStatus {
+
+public class ConnectStatus {
 
     /**
      * 杩炴帴涓�
      */
-    int CONNECTING = 0;
+    public static final int CONNECTING = 0;
 
     /**
      * 杩炴帴鎴愬姛
      */
-    int CONNECTED = 1;
+    public static final int CONNECTED = 1;
 
     /**
      * 杩炴帴鍏抽棴
      */
-    int DISCONNECT = 2;
+    public static final int DISCONNECT = 2;
 }

--
Gitblit v1.8.0