Event_PC_ParticipantChanged
This notification notifies participants in a group discussion that another participant has joined or left the group discussion.
The following table lists the parameters that you can include in this method.
Parameter | Type | Description |
---|---|---|
roomId | String | This parameter specifies the ID of the group discussion that a participant has joined or left. |
participantName | String | This parameter specifies the name of the participant in the group discussion. |
participantId | String | This parameter specifies the ID of the participant in the group discussion. |
isActive | Boolean | This parameter specifies the new status of the participant in the group discussion.
|
Code example
If the notification is successful,
BEMS
sends the following response to the BlackBerry Connect
app to specify that a user joined or has left the group discussion. In the following example, "user3" left the group discussion.{ "id":"S38", "error":null, "result": { "data": { "roomId":"ma-chan://gems.sw.rim.net/25ac15e7-9bff-4e78-9261-6e08aa43231e", "method":"pc.ParticipantChanged", "participantName":"user 3", "participantId":"sip:user3@example.com", "isActive":False } }, "jsonrpc":"2.0" }