sendAction
simple ServerAction example messageName: SERVER_ACTION payload: {"action_id": "GET_STREAM", "parameters": {"content_id": "111111"}}
runApp example messageName: RUN_APP payload: {"action_id": "run_app, "app_info": {"projectId":"5633938a-5ff3-49c9-ba7d-fe2a9944de78"}, "parameters": {}}
Return
generated message ID that can be used to track response, logs and etc
Parameters
need for backend filtering. On versions lower than 2 parameter will be ignored.
defines the amount of information gathered by the system.
We must use StateLevel.ALL in most cases.
We must use StateLevel.UNSUPPORTED if service version lower than 2.
If your action does not require state gathering, use StateLevel.WITHOUT_APPS and action will be sent faster.
Send server_action with source app androidApplicationID For internal use only.
Return
generated message ID that can be used to track response, logs and etc
Parameters
need for backend filtering. On versions lower than 2 parameter will be ignored.
defines the amount of information gathered by the system.
We must use StateLevel.ALL in most cases.
We must use StateLevel.UNSUPPORTED if service version lower than 2.
If your action does not require state gathering, use StateLevel.WITHOUT_APPS and action will be sent faster.
Throws
if trying to call method without having permission.