hideMessage
Command
Hide message
Send this JSON-RPC message in the
BND_MESSAGE extra of an Intent with the action ACTION_RNC_BROADCAST, to BeNav's activity or receiver: see Sending commands.Takes down the message currently displayed. Required for a message that was sent with no expiry and no dismiss button, and useful when what a message said has stopped being true.
The client application chooses whether to remove just the current message (letting the queue continue) or to clear the queue as well.
Command#
json
{
"id": "hide2",
"jsonrpc": "2.0",
"method": "hideMessage",
"params": {
"clearQueue": true
}
}Specific parameters
clearQueuefalse: only the currently displayed message will be removed. The next ones in the queue will then be displayedtrue: removes the currently displayed message and the ones in the current queue.
Response#
Generic responses