My Project
|
Register an event listener. More...
Variables | |
static final int | MSG_RI_REGISTER_EVENT_LISTENER = 701 |
Register an event listener.
Starts listening to an event given by the Bundle key "EventType".
After sending this message, the navigation software will send frequently event information to the client, if possible.
The sent back messages from the PTV Navigator will have the message id "MSG_RI_EVENT_DATA" and also have the "EventType" key set to let the client determine what event was actually received.
For a list of available event types and the corresponding information which will be sent by the PTV Navigator, see Event Types.
Key | Value | Type | Info |
---|---|---|---|
EventType | The type of event to listen to | int |
RI_ERROR_NONE if the registration succeeded.
RI_ERROR_RI_DISABLED if the Remote Interface service is disabled and/or not licensed.
RI_ERROR_IS_INITIALIZING if the Remote Interface service is not initialized yet.
RI_ERROR_UNSUPPORTED_EVENT_TYPE if the given event type doesn't exist.
© PTV Group 2021 | Generated on Sun Oct 2 2022 19:28:23 for My Project by 1.8.17 |