My Project
Variables
Add an alert for a given buddy id

Add a buddy alert. More...

Variables

static final int MSG_RI_ADD_BUDDY_ALERT = 903
 

Detailed Description

Add a buddy alert.

Add a buddy alert to the system. If the type is ALERTIN then alerts will be given if position is inside the cirle area defined by Radius. Else if the type is ALERTOUT then alerts will be given if position is outside the circle area defined by Radius and was inside before. Be sure to register your client to Alerts will be sent to the client with the message EVENT_BUDDY_ALERT.

Sending bundle:

KeyValueType

Info

BuddyId Id of the buddy int
Radius Radius of the alert area in m int
AlertTyp Type of alert (ALERTIN = 0, ALERTOUT = 1) int

Returned bundle:

KeyValueType

Info

BuddyAlertId Id of the added buddy alert int

Returned error codes:

RI_ERROR_NONE if everything is ok.
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_FAILED if an error occurred.


© PTV Group 2021 Generated on Sun Oct 2 2022 19:28:23 for My Project by doxygen 1.8.17