(→Type Definitions) |
(→State) |
||
Line 50: | Line 50: | ||
* [[MediaNamespace#State|State]] | * [[MediaNamespace#State|State]] | ||
− | === | + | ===Media=== |
{| | {| | ||
! Description | ! Description |
Revision as of 10:38, August 11, 2015
Media Namespace
Methods
The Media namespace includes the following methods:
getMediaList
Signature | <static> getMediaList() → {Array.<object>} |
---|---|
Description | Get the media attributes. |
Returns | list[] (Type: Array.<object>) — an array of all the media with the following attributes:
|
setState
Signature | <static> setState(name, stateOperationName) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Description | Sets the media state. | |||||||||
Parameters |
|
Type Definitions
The Media namespace includes the following object types:
Media
Description | Represents the JSON structure of a media. | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Type | Object | |||||||||
Properties |
|
State
Description | Represents the JSON structure of a media state. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type | Object | ||||||||||||
Properties |
|
Comments or questions about this documentation? Contact us for support!