(→State) |
(→State) |
||
Line 92: | Line 92: | ||
| type | | type | ||
| string | | string | ||
− | | The type of | + | | The type of operation. Possible values are: |
*LOGOUT | *LOGOUT | ||
*READY | *READY |
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!