wjc
2025-04-01 31e89a8697d049410c9d8d5c333cba33223bc9dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.hdl.sdk.link.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 {
 
    /**
     * 连接中
     */
    int CONNECTING = 0;
 
    /**
     * 连接成功
     */
    int CONNECTED = 1;
 
    /**
     * 连接关闭
     */
    int DISCONNECT = 2;
}