Remove an alternate state
Remove an alternate state by using the RemoveAlternateState method.
Example
The client wants to remove the alternate state AlternateState01 from the app. The handle of the app is 1.
The client sends:
{
"jsonrpc": "2.0",
"id": 10,
"method": "RemoveAlternateState",
"handle": 1,
"params": [
"AlternateState1"
]
}
The engine returns:
{
"jsonrpc": "2.0",
"id": 10,
"result": {},
"change": [
1
]
}
The alternate state AlternateState1 is removed.