(Update with the copy of version: draft) |
(Automated save: adding PEC_Migrated template.) |
||
Line 1: | Line 1: | ||
= Media namespace= | = Media namespace= | ||
+ | |||
+ | {{Template:PEC_Migrated}} | ||
+ | |||
+ | |||
__TOC__ | __TOC__ | ||
==Methods== | ==Methods== |
Revision as of 23:01, June 21, 2020
Media namespace
Important
This content may not be the latest Genesys Engage cloud content. To find the latest content, go to Genesys Engage cloud for Administrators.
Methods
The Media namespace includes the following methods:
getMediaList
Signature | <static> getMediaList() → {Array.<media.Media>} |
---|---|
Description | Get the media attributes. |
Returns | Array.<media.Media> |
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 |
|
* States that are limited to an event and can't be applied by code
Device
Description | Represents the JSON structure of a media. | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Type | Object | |||||||||
Properties |
|
Comments or questions about this documentation? Contact us for support!