panlili2024
2025-03-05 134209ad70f82051da3ce63471df0cc8f778e57d
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
32
33
34
35
36
37
package com.hdl.sdk.sourceos.bind;
 
/**
 * Created by Tong on 2022/3/23.
 * 扫码绑定事件
 */
public class BindAuthEvent implements BaseEvent {
 
 
    //on+绑定成功
    public static final int ON_PLUS_BINDING_SUCCEED_ACTION = 0;
 
    //on+绑定超时
    public static final int ON_PLUS_BINDING_TIMEOUT_ACTION = 1;
 
    //网络异常
    public static final int ON_PLUS_BINDING_ERROR_ACTION = 2;
 
    private int action;
 
    public BindAuthEvent(int action) {
        this.action = action;
    }
 
    @Override
    public String getEventType() {
        return EventType.ON_PLUS_BINDING_TYPE;
    }
 
    public int getAction() {
        return action;
    }
 
    public void setAction(int action) {
        this.action = action;
    }
}