Line 1: | Line 1: | ||
= Media Namespace= | = Media Namespace= | ||
+ | {{NoteFormat|The content on this page is no longer updated. To find the latest content, go to [https://all.docs.genesys.com/PEC-Developer/Current/SCAPI/MediaNamespace Media namespace].}} | ||
__TOC__ | __TOC__ | ||
==Methods== | ==Methods== |
Latest revision as of 16:59, February 1, 2022
Media Namespace
Important
The content on this page is no longer updated. 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 list of media with attributes. |
Returns | Array.<media.Media> |
getMediaByName
Signature | <static> getMediaByName(name) | ||||||
---|---|---|---|---|---|---|---|
Description | Get the media attributes. | ||||||
Parameters |
|
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 February 1, 2022, at 16:59.
Comments or questions about this documentation? Contact us for support!