Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Cannot create new instance of MultiUserChat

$
0
0

I am trying to create a new multi user chat session via the methods outlined in the docs but I am getting an error that says that  new MultiUserChat(mConnection,"newRoom", manager); is not public and cannot be accessed outside of its package.

 

    MultiUserChat muc = new MultiUserChat(mConnection,"newRoom", manager);

                   muc.createOrJoin( "USER1" );

                   Log.e( TAG, "HERE GROUP IS MADE 3" );

                   muc.grantAdmin( getUserJID( user.getUserPin() ) );

                   muc.join( user.getNickname() );

                   muc.grantMembership( users );

 

Since beta1, how should I go about creating, joining and adding users to a multi user chat.


Viewing all articles
Browse latest Browse all 10742

Trending Articles