(Modified comment string {{Template:PEC_Migrated| with __NOINDEX__ {{Template:PEC_Migrated|) |
(Update with the copy of version: draft) |
||
Line 1: | Line 1: | ||
= Media namespace= | = Media namespace= | ||
− | + | {{Template:PEC_Migrated|Target=[https://all.docs.genesys.com/PEC-Developer/Current/SCAPI/MediaNamespace Media namespace]}} | |
− | |||
− | Target=https://all.docs.genesys.com/PEC-Developer/Current/SCAPI}} | ||
Latest revision as of 20:24, December 8, 2020
Media namespace
Important
This content may not be the latest Genesys Engage cloud content. To find the latest content, go to Media namespace.
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 |
|
This page was last edited on December 8, 2020, at 20:24.
Comments or questions about this documentation? Contact us for support!