as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
表示您可以使用媒体控制客户端调用的操作。

构造函数

new Action()

new Action(name): Action

参数

name
string

返回值

Action

属性

name

name: string

PLAY

static readonly PLAY: Action = new Action('PLAY')

PAUSE

static readonly PAUSE: Action = new Action('PAUSE')

TOGGLE_PLAY_PAUSE

static readonly TOGGLE_PLAY_PAUSE: Action = new Action('TOGGLE_PLAY_PAUSE')

STOP

static readonly STOP: Action = new Action('STOP')

START_OVER

static readonly START_OVER: Action = new Action('START_OVER')

FAST_FORWARD

static readonly FAST_FORWARD: Action = new Action('FAST_FORWARD')

REWIND

static readonly REWIND: Action = new Action('REWIND')

SET_PLAYBACK_SPEED

static readonly SET_PLAYBACK_SPEED: Action = new Action('SET_PLAYBACK_SPEED')

SKIP_FORWARD

static readonly SKIP_FORWARD: Action = new Action('SKIP_FORWARD')

SKIP_BACKWARD

static readonly SKIP_BACKWARD: Action = new Action('SKIP_BACKWARD')

SEEK

static readonly SEEK: Action = new Action('SEEK')

SET_AUDIO_VOLUME

static readonly SET_AUDIO_VOLUME: Action = new Action('SET_AUDIO_VOLUME')

SET_AUDIO_TRACK

static readonly SET_AUDIO_TRACK: Action = new Action('SET_AUDIO_TRACK')

ENABLE_TEXT_TRACK

static readonly ENABLE_TEXT_TRACK: Action = new Action('ENABLE_TEXT_TRACK')

DISBLE_TEXT_TRACK

static readonly DISBLE_TEXT_TRACK: Action = new Action('DISABLE_TEXT_TRACK')

NEXT

static readonly NEXT: Action = new Action('NEXT')

PREVIOUS

static readonly PREVIOUS: Action = new Action('PREVIOUS')

ENABLE_SHUFFLE

static readonly ENABLE_SHUFFLE: Action = new Action('ENABLE_SHUFFLE')

SET_REPEAT_MODE

static readonly SET_REPEAT_MODE: Action = new Action('SET_REPEAT_MODE')

SET_RATING

static readonly SET_RATING: Action = new Action('SET_RATING')

GET_META_DATA

static readonly GET_META_DATA: Action = new Action('GET_META_DATA')
最后修改于 2026年10月26日