34 lines
851 B
Java
34 lines
851 B
Java
package com.ubt.jimu.unity.bluetooth;
|
|
|
|
import com.ubt.jimu.R;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public enum ConnectionStatus {
|
|
CONNECTED(0, R.mipmap.bluetooth_connected, "已连接"),
|
|
CHARGING(1, R.mipmap.bluetooth_charging, "充电中"),
|
|
LOW_BATTERY(2, R.mipmap.bluetooth_low_battery, "电量不足"),
|
|
DIS_CONNECT(3, R.mipmap.bluetooth_disconnected, "断开连接");
|
|
|
|
private String description;
|
|
private int status;
|
|
private int statusBackground;
|
|
|
|
ConnectionStatus(int i, int i2, String str) {
|
|
this.status = i;
|
|
this.description = str;
|
|
this.statusBackground = i2;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return this.description;
|
|
}
|
|
|
|
public int getStatus() {
|
|
return this.status;
|
|
}
|
|
|
|
public int getStatusBackground() {
|
|
return this.statusBackground;
|
|
}
|
|
}
|