as

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

PlayerSessionError

All media elements have an associated error status, which records the last error the element encountered since its resource selection algorithm was last invoked. Onre getting an error while perforning handle functions, apps must create instance of PlayerSessionError to reject the promise in corresponding PlayerServerHandler handle functions.

For additional information, see https://html.spec.whatwg.org/multipage/media.html#mediaerror.

Extends

  • Error

Extended by

Constructors

new PlayerSessionError()

new PlayerSessionError(message): PlayerSessionError

Initializes a new instance of PlayerSessionError.

Parameters

message

any

Returns

PlayerSessionError

Overrides

Error.constructor

Properties

message

message: string

Inherited from

Error.message


name

name: string

Inherited from

Error.name


stack?

optional stack: string

Inherited from

Error.stack


Last updated: Oct 02, 2025