|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperationSetAdHocMultiUserChat
Allows creating, configuring, joining and administering of individual text-based ad-hoc conference rooms.
| Method Summary | |
|---|---|
void |
addInvitationListener(AdHocChatRoomInvitationListener listener)
Adds the given listener to the list of AdHocChatRoomInvitationListener-s that would be notified when an add-hoc chat room invitation has been received. |
void |
addInvitationRejectionListener(AdHocChatRoomInvitationRejectionListener listener)
Adds the given listener to the list of AdHocChatRoomInvitationRejectionListener-s that would be notified when an add-hoc chat room invitation has been rejected. |
void |
addPresenceListener(LocalUserAdHocChatRoomPresenceListener listener)
Adds a listener that will be notified of changes in our participation in an ad-hoc chat room such as us being joined, left. |
AdHocChatRoom |
createAdHocChatRoom(String adHocRoomName,
List<String> contacts,
String reason)
Creates an ad-hoc room with the named adHocRoomName and in including to the specified contacts for the given reason . |
AdHocChatRoom |
createAdHocChatRoom(String adHocRoomName,
Map<String,Object> adHocRoomProperties)
Creates an ad-hoc room with the named adHocRoomName and according to the specified adHocRoomProperties. |
List<AdHocChatRoom> |
getAdHocChatRooms()
Returns a list of all currently joined AdHocChatRoom-s. |
void |
rejectInvitation(AdHocChatRoomInvitation invitation,
String rejectReason)
Informs the sender of an invitation that we decline their invitation. |
void |
removeInvitationListener(AdHocChatRoomInvitationListener listener)
Removes listener from the list of invitation listeners registered to receive invitation events. |
void |
removeInvitationRejectionListener(AdHocChatRoomInvitationRejectionListener listener)
Removes the given listener from the list of invitation listeners registered to receive events every time an invitation has been rejected. |
void |
removePresenceListener(LocalUserAdHocChatRoomPresenceListener listener)
Removes a listener that was being notified of changes in our participation in an ad-hoc room such as us being joined, left. |
| Method Detail |
|---|
AdHocChatRoom createAdHocChatRoom(String adHocRoomName,
Map<String,Object> adHocRoomProperties)
throws OperationFailedException,
OperationNotSupportedException
adHocRoomName - the name of the AdHocChatRoom to create.adHocRoomProperties - properties specifying how the ad-hoc room should be created;
null for no properties just like an empty
Map
OperationFailedException - if the ad-hoc room couldn't be created for some reason.
OperationNotSupportedException - if chat room creation is not supported by this server
AdHocChatRoom createAdHocChatRoom(String adHocRoomName,
List<String> contacts,
String reason)
throws OperationFailedException,
OperationNotSupportedException
adHocRoomName - the name of the AdHocChatRoom to create.contacts - the contacts (ID) who are added to the room when it's created;
null for no contactsreason - the reason for this invitation
OperationFailedException - if the ad-hoc room couldn't be created for some reason.
OperationNotSupportedException - if chat room creation is not supported by this serverList<AdHocChatRoom> getAdHocChatRooms()
void addPresenceListener(LocalUserAdHocChatRoomPresenceListener listener)
listener - a local user participation listener.void removePresenceListener(LocalUserAdHocChatRoomPresenceListener listener)
listener - a local user participation listener.void addInvitationListener(AdHocChatRoomInvitationListener listener)
listener - the AdHocChatRoomInvitationListener to addvoid removeInvitationListener(AdHocChatRoomInvitationListener listener)
listener - the invitation listener to remove.void addInvitationRejectionListener(AdHocChatRoomInvitationRejectionListener listener)
listener - the AdHocChatRoomInvitationListener to addvoid removeInvitationRejectionListener(AdHocChatRoomInvitationRejectionListener listener)
listener - the invitation listener to remove.
void rejectInvitation(AdHocChatRoomInvitation invitation,
String rejectReason)
invitation - the invitation we are rejecting.rejectReason - the reason to reject the invitation (optional)
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||