29 lines
689 B
Java
29 lines
689 B
Java
package com.ubt.jimu.blockly.exception;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class BlocklyEvent<T> {
|
|
public static final int BLOCKLY_DISCONNECT_BLE = 1006;
|
|
public static final int CALL_JAVASCRIPT = 1004;
|
|
public static final int COMMON_EXCEPTION = 1001;
|
|
public static final int DISCONNECT_BLE = 1003;
|
|
public static final int JS_EXCEPTION = 1002;
|
|
|
|
@Deprecated
|
|
public static final int RESTART_BLOCKLY = 1005;
|
|
private T msg;
|
|
private int type;
|
|
|
|
public BlocklyEvent(int i, T t) {
|
|
this.msg = t;
|
|
this.type = i;
|
|
}
|
|
|
|
public T getMessage() {
|
|
return this.msg;
|
|
}
|
|
|
|
public int getType() {
|
|
return this.type;
|
|
}
|
|
}
|