Hi
I'm trying to subscribe for room events only in specific group - is there are a tutorial or short info?
I saw that there is SubscribeRoomGroupRequest which I gues should use - but I'm not sure how exactly.
I also need to know how to unsubscribe.
How to subscribe for specific room groups updates
You find a simple example of usage in the ASDoc
http://showcase.smartfoxserver.com/2X-P ... quest.html
http://showcase.smartfoxserver.com/2X-P ... quest.html
If you have any specific questions let us know
http://showcase.smartfoxserver.com/2X-P ... quest.html
http://showcase.smartfoxserver.com/2X-P ... quest.html
If you have any specific questions let us know
A little clarification, just in case:
when you subscribe to a group the server will do the following:
1- send you the list of rooms in that group
2- keep you updated about new rooms created or rooms that are removed.
When you unsubscribe you loose those Rooms information and no updates are received anymore.
Hope it helps
when you subscribe to a group the server will do the following:
1- send you the list of rooms in that group
2- keep you updated about new rooms created or rooms that are removed.
When you unsubscribe you loose those Rooms information and no updates are received anymore.
Hope it helps
Hi
It looks like when I join the zone - all the rooms(maybe all the rooms in the default group) are sent to the client. How can I stop that - because I want to receive only the rooms from specific group.
1 Join the zone - I don't to receive any rooms here
2 Send SubscribeRoomGroupRequest and get only the rooms I'm interested in
It looks like when I join the zone - all the rooms(maybe all the rooms in the default group) are sent to the client. How can I stop that - because I want to receive only the rooms from specific group.
1 Join the zone - I don't to receive any rooms here
2 Send SubscribeRoomGroupRequest and get only the rooms I'm interested in