562935844@qq.com
2023-08-31 fdcf461fbfa3bcd650685743e891ad3357898f0c
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;
}