ホーム › Media.MediaPlayer › PlayerState
PlayerState
列挙型メンバー 3
| 名前 | 10進 | 16進 |
|---|---|---|
| stop_state | 0 | 0x0 |
| pause_state | 1 | 0x1 |
| play_state | 2 | 0x2 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum PlayerState : int {
stop_state = 0,
pause_state = 1,
play_state = 2
} PlayerState;public enum PlayerState : int
{
stop_state = 0,
pause_state = 1,
play_state = 2,
}Public Enum PlayerState As Integer
stop_state = 0
pause_state = 1
play_state = 2
End Enumimport enum
class PlayerState(enum.IntEnum):
stop_state = 0
pause_state = 1
play_state = 2// PlayerState
pub const stop_state: i32 = 0;
pub const pause_state: i32 = 1;
pub const play_state: i32 = 2;// PlayerState
const (
stop_state int32 = 0
pause_state int32 = 1
play_state int32 = 2
)const
stop_state = 0;
pause_state = 1;
play_state = 2;// PlayerState
pub const stop_state: i32 = 0;
pub const pause_state: i32 = 1;
pub const play_state: i32 = 2;const
stop_state* = 0
pause_state* = 1
play_state* = 2enum PlayerState : int {
stop_state = 0,
pause_state = 1,
play_state = 2,
}#define global stop_state 0x0
#define global pause_state 0x1
#define global play_state 0x2