AnsweredAssumed Answered

Cannot create new instance of MultiUserChat

Question asked by kirk on Jan 18, 2015
Latest reply on Jan 20, 2015 by kirk

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.

Outcomes