ホーム › System.Power › BATTERY_CHARGING_SOURCE_TYPE
BATTERY_CHARGING_SOURCE_TYPE
列挙型メンバー 4
| 名前 | 10進 | 16進 |
|---|---|---|
| BatteryChargingSourceType_AC | 1 | 0x1 |
| BatteryChargingSourceType_USB | 2 | 0x2 |
| BatteryChargingSourceType_Wireless | 3 | 0x3 |
| BatteryChargingSourceType_Max | 4 | 0x4 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum BATTERY_CHARGING_SOURCE_TYPE : int {
BatteryChargingSourceType_AC = 1,
BatteryChargingSourceType_USB = 2,
BatteryChargingSourceType_Wireless = 3,
BatteryChargingSourceType_Max = 4
} BATTERY_CHARGING_SOURCE_TYPE;public enum BATTERY_CHARGING_SOURCE_TYPE : int
{
BatteryChargingSourceType_AC = 1,
BatteryChargingSourceType_USB = 2,
BatteryChargingSourceType_Wireless = 3,
BatteryChargingSourceType_Max = 4,
}Public Enum BATTERY_CHARGING_SOURCE_TYPE As Integer
BatteryChargingSourceType_AC = 1
BatteryChargingSourceType_USB = 2
BatteryChargingSourceType_Wireless = 3
BatteryChargingSourceType_Max = 4
End Enumimport enum
class BATTERY_CHARGING_SOURCE_TYPE(enum.IntEnum):
BatteryChargingSourceType_AC = 1
BatteryChargingSourceType_USB = 2
BatteryChargingSourceType_Wireless = 3
BatteryChargingSourceType_Max = 4// BATTERY_CHARGING_SOURCE_TYPE
pub const BatteryChargingSourceType_AC: i32 = 1;
pub const BatteryChargingSourceType_USB: i32 = 2;
pub const BatteryChargingSourceType_Wireless: i32 = 3;
pub const BatteryChargingSourceType_Max: i32 = 4;// BATTERY_CHARGING_SOURCE_TYPE
const (
BatteryChargingSourceType_AC int32 = 1
BatteryChargingSourceType_USB int32 = 2
BatteryChargingSourceType_Wireless int32 = 3
BatteryChargingSourceType_Max int32 = 4
)const
BatteryChargingSourceType_AC = 1;
BatteryChargingSourceType_USB = 2;
BatteryChargingSourceType_Wireless = 3;
BatteryChargingSourceType_Max = 4;// BATTERY_CHARGING_SOURCE_TYPE
pub const BatteryChargingSourceType_AC: i32 = 1;
pub const BatteryChargingSourceType_USB: i32 = 2;
pub const BatteryChargingSourceType_Wireless: i32 = 3;
pub const BatteryChargingSourceType_Max: i32 = 4;const
BatteryChargingSourceType_AC* = 1
BatteryChargingSourceType_USB* = 2
BatteryChargingSourceType_Wireless* = 3
BatteryChargingSourceType_Max* = 4enum BATTERY_CHARGING_SOURCE_TYPE : int {
BatteryChargingSourceType_AC = 1,
BatteryChargingSourceType_USB = 2,
BatteryChargingSourceType_Wireless = 3,
BatteryChargingSourceType_Max = 4,
}#define global BatteryChargingSourceType_AC 0x1
#define global BatteryChargingSourceType_USB 0x2
#define global BatteryChargingSourceType_Wireless 0x3
#define global BatteryChargingSourceType_Max 0x4