Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

Not able to get joined rooms in smack 4.1.0 rc1

$
0
0

Hi,

 

I am trying to get joinned rooms using below code but not able to get it.

 

 

MultiUserChatManager multiUserChatManager = MultiUserChatManager.getInstanceFor(tcpConnection);

                        try {

                            List<String> joinedRooms = multiUserChatManager.getJoinedRooms(tcpConnection.getUser());

                            Log.i(Constant.TAG, "Joined Room Size= " + joinedRooms.size());

                        } catch (SmackException.NoResponseException e) {

                            e.printStackTrace();

                        } catch (XMPPException.XMPPErrorException e) {

                            e.printStackTrace();

                        } catch (SmackException.NotConnectedException e) {

                            e.printStackTrace();

                        }

 

Can any one help me to do this?


Viewing all articles
Browse latest Browse all 4979

Trending Articles