public interface RoomMembershipClient
| Modifier and Type | Method and Description |
|---|---|
void |
addMemberToRoom(java.lang.String roomStreamId,
long userId)
Call this method to add a member to a chat room.
|
org.symphonyoss.symphony.pod.model.MembershipList |
getRoomMembership(java.lang.String roomStreamId)
Provides room membership
|
void |
removeMemberFromRoom(java.lang.String roomStreamId,
long userId)
Call this method to remove a member from a chat room.
|
org.symphonyoss.symphony.pod.model.MembershipList getRoomMembership(java.lang.String roomStreamId)
throws SymException
roomStreamId - - stream-id of the chat room you want to add the member toMembershipListSymException - Exceptions from API calls into Symphonyvoid addMemberToRoom(java.lang.String roomStreamId,
long userId)
throws SymException
roomStreamId - - stream-id of the chat room you want to add the member touserId - userId for the user in SymphonySymException - throws an ApiException if there were any issues while invoking the endpoint,
IllegalArgumentException if the arguments were wrong, IllegalStateException if the
session-token is nullvoid removeMemberFromRoom(java.lang.String roomStreamId,
long userId)
throws SymException
roomStreamId - - stream-id of the chat room you want to add the member touserId - userId for the user in SymphonySymException - throws an ApiException if there were any issues while invoking the endpoint,
IllegalArgumentException if the arguments were wrong, IllegalStateException if the
session-token is null