This page was last edited on February 15, 2024, at 18:02.
Comments or questions about this documentation? Contact us for support!
The Media namespace includes the following methods:
Signature | <static> getMediaList() → {Array.<media.Media>} |
---|---|
Description | Get the list of media with attributes. |
Returns | Array.<media.Media> |
Signature | <static> getMediaByName(name) | ||||||
---|---|---|---|---|---|---|---|
Description | Get the media attributes. | ||||||
Parameters |
|
Signature | <static> setState(name, stateOperationName) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Description | Sets the media state. | |||||||||
Parameters |
|
The Media namespace includes the following object types:
Description | Represents the JSON structure of a media. | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Type | Object | |||||||||
Properties |
|
Description | Represents the JSON structure of a media state. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type | Object | ||||||||||||
Properties |
|
* States that are limited to an event and can't be applied by code
Description | Represents the JSON structure of a media. | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Type | Object | |||||||||
Properties |
|