hideAnimation
The hideAnimation method is used to cancel or hide a currently displayed animation on the device that was previously initiated using the showAnimation method.
Request
JSON-RPC 2.0All methods in TweezerComm follow a JSON-RPC 2.0 structure. See Get Startedfor more details on how the requests are structured and sent.
To invoke this method, set the method field to hideAnimation, and include the service name.
{
"jsonrpc": "2.0",
"method": "hideAnimation",
"id": "123",
"params": [
"device"
]
}Request Parameters
The table below describes the parameters of the request:
| Name | Type | Description |
|---|---|---|
device | string | The service name (fixed value) |
Response
A successful request will return the following response:
{
"jsonrpc": "2.0",
"id": "1234567890",
"result": {
"statusCode": 0,
"data": "12456"
}
}Response Parameters
The table below describes the response parameters for this method:
| Name | Type | Description |
|---|---|---|
statusCode | integer | Operation status (0 = success) |
statusMessage | string | Message indicating operation result. |
Updated about 1 month ago