(Automated save: adding PEC_Migrated template.) |
(Update with the copy of version: draft) |
||
Line 1: | Line 1: | ||
= Media namespace= | = Media namespace= | ||
− | {{Template:PEC_Migrated}} | + | {{Template:PEC_Migrated|Target=https://all.docs.genesys.com/PEC-Developer/Current/SCAPI}} |
Revision as of 16:41, July 9, 2020
Media namespace
Important
This content may not be the latest Genesys Engage cloud content. To find the latest content, go to https://all.docs.genesys.com/PEC-Developer/Current/SCAPI.
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!