Difference between revisions of "PEC-Developer/Current/SCAPI/MediaNamespace"
From Genesys Documentation
m (Text replacement - "\|Platforms?=([^\|]*)PureEngage([\|]*)" to "|Platform=$1GenesysEngage-onpremises$2") |
m (Text replacement - "\|Platform=([^\|]*)GenesysEngage-onpremises([\|]*)" to "|Platform=$1GenesysEngage-cloud$2") |
||
Line 5: | Line 5: | ||
|Context=Learn about the Media namespace methods and type definitions in the Service Client API.. | |Context=Learn about the Media namespace methods and type definitions in the Service Client API.. | ||
|ComingSoon=No | |ComingSoon=No | ||
− | |Platform=GenesysEngage- | + | |Platform=GenesysEngage-cloud |
|Prereq= | |Prereq= | ||
|Section={{Section | |Section={{Section |
Revision as of 02:34, July 25, 2020
Learn about the Media namespace methods and type definitions in the Service Client API..
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!