as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

Action

Represents the actions that you can invoke using the media control client.

Constructors

new Action()

new Action(name): Action

Parameters

name

string

Returns

Action

Properties

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')


Last updated: Jul 22, 2026