ホーム › Devices.Sensors › SIMPLE_DEVICE_ORIENTATION
SIMPLE_DEVICE_ORIENTATION
列挙型メンバー 6
| 名前 | 10進 | 16進 |
|---|---|---|
| SimpleDeviceOrientation_NotRotated | 0 | 0x0 |
| SimpleDeviceOrientation_Rotated90DegreesCounterclockwise | 1 | 0x1 |
| SimpleDeviceOrientation_Rotated180DegreesCounterclockwise | 2 | 0x2 |
| SimpleDeviceOrientation_Rotated270DegreesCounterclockwise | 3 | 0x3 |
| SimpleDeviceOrientation_Faceup | 4 | 0x4 |
| SimpleDeviceOrientation_Facedown | 5 | 0x5 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum SIMPLE_DEVICE_ORIENTATION : int {
SimpleDeviceOrientation_NotRotated = 0,
SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1,
SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2,
SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3,
SimpleDeviceOrientation_Faceup = 4,
SimpleDeviceOrientation_Facedown = 5
} SIMPLE_DEVICE_ORIENTATION;public enum SIMPLE_DEVICE_ORIENTATION : int
{
SimpleDeviceOrientation_NotRotated = 0,
SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1,
SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2,
SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3,
SimpleDeviceOrientation_Faceup = 4,
SimpleDeviceOrientation_Facedown = 5,
}Public Enum SIMPLE_DEVICE_ORIENTATION As Integer
SimpleDeviceOrientation_NotRotated = 0
SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1
SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2
SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3
SimpleDeviceOrientation_Faceup = 4
SimpleDeviceOrientation_Facedown = 5
End Enumimport enum
class SIMPLE_DEVICE_ORIENTATION(enum.IntEnum):
SimpleDeviceOrientation_NotRotated = 0
SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1
SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2
SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3
SimpleDeviceOrientation_Faceup = 4
SimpleDeviceOrientation_Facedown = 5// SIMPLE_DEVICE_ORIENTATION
pub const SimpleDeviceOrientation_NotRotated: i32 = 0;
pub const SimpleDeviceOrientation_Rotated90DegreesCounterclockwise: i32 = 1;
pub const SimpleDeviceOrientation_Rotated180DegreesCounterclockwise: i32 = 2;
pub const SimpleDeviceOrientation_Rotated270DegreesCounterclockwise: i32 = 3;
pub const SimpleDeviceOrientation_Faceup: i32 = 4;
pub const SimpleDeviceOrientation_Facedown: i32 = 5;// SIMPLE_DEVICE_ORIENTATION
const (
SimpleDeviceOrientation_NotRotated int32 = 0
SimpleDeviceOrientation_Rotated90DegreesCounterclockwise int32 = 1
SimpleDeviceOrientation_Rotated180DegreesCounterclockwise int32 = 2
SimpleDeviceOrientation_Rotated270DegreesCounterclockwise int32 = 3
SimpleDeviceOrientation_Faceup int32 = 4
SimpleDeviceOrientation_Facedown int32 = 5
)const
SimpleDeviceOrientation_NotRotated = 0;
SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1;
SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2;
SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3;
SimpleDeviceOrientation_Faceup = 4;
SimpleDeviceOrientation_Facedown = 5;// SIMPLE_DEVICE_ORIENTATION
pub const SimpleDeviceOrientation_NotRotated: i32 = 0;
pub const SimpleDeviceOrientation_Rotated90DegreesCounterclockwise: i32 = 1;
pub const SimpleDeviceOrientation_Rotated180DegreesCounterclockwise: i32 = 2;
pub const SimpleDeviceOrientation_Rotated270DegreesCounterclockwise: i32 = 3;
pub const SimpleDeviceOrientation_Faceup: i32 = 4;
pub const SimpleDeviceOrientation_Facedown: i32 = 5;const
SimpleDeviceOrientation_NotRotated* = 0
SimpleDeviceOrientation_Rotated90DegreesCounterclockwise* = 1
SimpleDeviceOrientation_Rotated180DegreesCounterclockwise* = 2
SimpleDeviceOrientation_Rotated270DegreesCounterclockwise* = 3
SimpleDeviceOrientation_Faceup* = 4
SimpleDeviceOrientation_Facedown* = 5enum SIMPLE_DEVICE_ORIENTATION : int {
SimpleDeviceOrientation_NotRotated = 0,
SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1,
SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2,
SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3,
SimpleDeviceOrientation_Faceup = 4,
SimpleDeviceOrientation_Facedown = 5,
}#define global SimpleDeviceOrientation_NotRotated 0x0
#define global SimpleDeviceOrientation_Rotated90DegreesCounterclockwise 0x1
#define global SimpleDeviceOrientation_Rotated180DegreesCounterclockwise 0x2
#define global SimpleDeviceOrientation_Rotated270DegreesCounterclockwise 0x3
#define global SimpleDeviceOrientation_Faceup 0x4
#define global SimpleDeviceOrientation_Facedown 0x5