ホーム > 開発 > IP コントロール > REST API > APIリスト
getCurrentExternalInputsStatus (v1.0)
Estimated reading time: 2 minutes
- This API provides information on the current status of all external input sources of the device.
Syntax
- http://<Base URL>/avContent
Authentication Level
- none
Request
- params' Elements
- Not necessary.
- JSON Example
-
{ "method": "getCurrentExternalInputsStatus", "id": 105, "params": [], "version": "1.0" }
Response
- result's Elements
- An array of objects composed of the following pairs.
name | type | multiplicity | default | description |
---|---|---|---|---|
uri | string | 1 | URI to identify the content. Refer to here to learn the URI structure in detail.
|
|
title | string | 1 | Name of input.
|
|
connection | boolean | 1 | Input connection status.
|
|
label | string | 1 | Label name of the input set by the user.
|
|
icon | string | 1 | Icon type to give a hint to the application which icon to show for the user. The
type is indicated by a "meta" URI format and implies that the developers of
the client side should prepare some actual images with respect to the meta
URI. The following meta URIs are defined.
|
- JSON Example
-
{ "result": [[ { "icon": "meta:game", "connection": false, "label": "GAME", "title": "Component1", "uri": "extInput:component?port=1" }, { "icon": "meta:component", "connection": true, "label": "", "title": "Component2", "uri": "extInput:component?port=2" }, { "icon": "meta:hdmi", "connection": true, "label": "", "title": "HDMI1", "uri": "extInput:hdmi?port=1" }, { "icon": "meta:recordingdevice", "connection": true, "label": "BDPlayer", "title": "Player1", "uri": "extInputs:cec?type=player&port=1" } ]], "id": 105 }
- Error Code
- No additional error codes are defined. Refer to error code for common errors.
Last modified: 26 Jul 2024