Traditional c++ interface for callbacks to be used in android.
More...
#include <genericserviceclient.hpp>
Traditional c++ interface for callbacks to be used in android.
◆ ~EventCallbackEx()
virtual kanzi::connect::GenericServiceClient::EventCallbackEx::~EventCallbackEx |
( |
| ) |
|
|
inlinevirtual |
Allows generic client side interface to a named service. Introspects service details along the way when service methods are invoked.
Required for Java bindings
◆ onEventReceived()
virtual void kanzi::connect::GenericServiceClient::EventCallbackEx::onEventReceived |
( |
const string & | eventName, |
|
|
const EventArguments & | eventArguments ) |
|
pure virtual |
Invoked when event is received.
- Parameters
-
eventName | the name of the event. |
eventArguments | named arguments for the event. |
◆ onEventRegistrationStateChanged()
virtual void kanzi::connect::GenericServiceClient::EventCallbackEx::onEventRegistrationStateChanged |
( |
const string & | eventName, |
|
|
EventRegistrationState | state ) |
|
pure virtual |
Invoked when event registration state changes.
- Parameters
-
eventName | name of the event whom registration status changed |
state | the new state of registration. Generally either ..Failed or ..Complete |
The documentation for this class was generated from the following file:
- connect/genericserviceclient.hpp