Home > Develop > IP Control > REST API > API List

setTextForm (v1.0)

Estimated reading time: 1 minute

This API provides the function to input text on the field of the software keyboard.

Syntax

http://<Base URL>/appControl

Authentication Level

generic

Request

params' Elements
The following value.
type description
string Text data encoded by UTF8.
JSON Example
{
    "method": "setTextForm",
    "id": 601,
    "params": ["hello world!!"],
    "version": "1.0"
}

Response

result's Elements
The following value.
type description
integer Only 0 is returned.
JSON Example
{
    "result": [0],
    "id": 601
}
Error Code
The following error codes are important for this API. Refer to error code for other errors.
code Explanation
7 Software keyboard is not active.
Last modified: 26 Jul 2024