Initial commit
This commit is contained in:
28
sources/com/ubt/jimu/blockly/exception/BlocklyEvent.java
Normal file
28
sources/com/ubt/jimu/blockly/exception/BlocklyEvent.java
Normal file
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user