PhotonCloudAPI > Photon Voice Client > Change Interest Groups

Change Interest Groups

Operation to handle this client's interest groups (for events inside rooms).
An empty array won't add/remove any groups.
First, removing groups is executed. This way, you could leave all groups and join only the ones provided.
Before subscribing to a group (adding) you need at least one sent event done.
Changes become active not immediately but when the server executes this operation (approximately getRoundTripTime()/2 milliseconds after the Client has sent it).
Important: You can only cache events sent to interest group 0. No other group has an event cache.
\param DisableGroups
\param EnableGroups

Inputs

In
Exec

Target
Photon Voice Client Object Reference

Disable Groups
Array of Bytes

Enable Groups
Array of Bytes

Outputs

Out
Exec