#include <action.h>
Interface to an object supplied to Engine::executeAction().
◆ actionId()
virtual const char* nx::sdk::analytics::Action::actionId |
( |
| ) |
|
|
pure virtual |
Id of the action being triggered.
◆ deviceId()
Id of a device from which the action has been triggered.
◆ handleResult()
virtual void nx::sdk::analytics::Action::handleResult |
( |
const char * |
actionUrl, |
|
|
const char * |
messageToUser |
|
) |
| |
|
pure virtual |
Report action result back to Server. If the action is decided not to have any result, this method can be either called with nulls or not called at all.
- Parameters
-
actionUrl | If not null, Client will open this URL in an embedded browser. |
messageToUser | If not null, Client will show this text to the user. |
◆ objectId()
Id of a metadata object for which the action has been triggered.
◆ paramCount()
virtual int nx::sdk::analytics::Action::paramCount |
( |
| ) |
|
|
pure virtual |
◆ params()
If the Engine manifest defines params for this action type, contains the array of their values after they are filled by the user via Client form. Otherwise, null.
◆ timestampUs()
virtual int64_t nx::sdk::analytics::Action::timestampUs |
( |
| ) |
|
|
pure virtual |
Timestamp of a video frame from which the action has been triggered.
The documentation for this class was generated from the following file: