Service avContent
Estimated reading time: 1 minute
This service handles overall control of input and output of the device for AV contents and manipulating AV contents themselves on the device. For example, there is an API to request display channel list, request it to set to a certain channel, and also request it to change to an external input like HDMI. Several APIs have URI parameters to specify the input and output of the device or contents itself. Please find more details about the concept of URI here.
API List
API name | Auth Level | Description |
---|---|---|
getContentCount (v1.0) | Private | This API provides the count of contents in the source. |
getContentCount (v1.1) | Private | This API provides the count of contents in the source. |
getContentList (v1.5) | Private | This API provides the list of contents under the URI |
getCurrentExternalInputsStatus (v1.0) | None | This API provides information on the current status of all external input sources of the device. |
getSchemeList (v1.0) | None | This API provides the list of schemes that the device can handle. |
getSourceList (v1.0) | None | This API provides the list of sources in the scheme. |
getCurrentExternalInputsStatus (v1.1) | None | This API provides information on the current status of all external input sources of the device. |
getPlayingContentInfo (v1.0) | Private | This API provides information of the currently playing content or the currently selected input. |
setPlayContent (v1.0) | Generic | This API provides the function to play content. |
Getting content information
To get information on the content that a device has, the client needs to know the source of the URI. A client can get the URI of the source by using getSchemeList and getSourceList.
At first, the client gets scheme information with the getSchemeList. Afterward, the client sets this scheme to the “scheme” parameter of getSourceList and calls this API to get the URI of the source.
The client sets the URI of the source to the “uri” parameter of getContentList and calls this API to get the content information or browse the content.