Event_PC_RoomSettingsChanged
This notification specifies that the group discussion settings have changed.
Parameters are returned only if there is a change.
The following table lists the parameters that you can include in this method.
Parameter | Type | Required | Description |
---|---|---|---|
roomId | String | √ | This parameter specifies the ID of the group discussion that has changed. |
newRoomName | String | √ | This parameter specifies the new name of the group discussion. |
newCategoryId | String | — | This parameter specifies the new category ID of the group discussion. |
newDescription | String | — | This parameter specifies the new description for the group discussion. |
isDisabled * | Boolean | — | This parameter specifies if the group discussion is disabled. |
isMember * | Boolean | — | This parameter specifies if the participant has been removed from the group discussion. If false, the participant has left the room and is no longer a member. This is returned only if the member leaves the group discussion, not if the user becomes a member. |
isManager * | Boolean | — | This parameter specifies if the manager privileges for the group discussion have changed. |
*
These parameters are returned only if the user is a participant in the group discussion.Code example
If the notification is successful,
BEMS
sends the following notification to the BlackBerry Connect
client and notifies participants that the room settings changed. In this example, the name of the group discussion changed. { "id":"S38", "error":null, "result": { "data": { "roomId":"ma-chan://gems.example.net/25ac15e7-9bff-4e78-9261-6e08aa43231e", "method":"pc.RoomSettingsChanged", "newRoomName":"SR1 Project Discussion" } }, "jsonrpc":"2.0"