The CSChat object provides access to conference chat related capabilities and actions.
More...
#import <CSChat.h>
Inherits NSObject.
The CSChat object provides access to conference chat related capabilities and actions.
The CSChat object is accessible via CSConference and CSCollaboration. Client is notified about status updates concerning conference chat via CSChatDelegate object.
- See also
- CSChatDelegate
-
CSCollaboration
-
CSConference
- (void) getChatParticipantsWithCompletionHandler: |
|
(void(^)(NSArray *participantList)) |
handler |
|
Return the participant list associated with the chat.
- Parameters
-
handler | A block to be called when the operation is completed.
participantList If the operation was successful this parameter contains list of collaboration participants otherwise it is empty.
|
- (void) sendPrivateMessage: |
|
(NSString *) |
message |
toParticipant: |
|
(CSParticipant *) |
participant |
completionHandler: |
|
(void(^)(NSError *error)) |
handler |
|
|
| |
Sends private chat message to given participant.
Client is notified about successful operation also by CSChatDelegate apart from completion handler.
- Parameters
-
message | Message to be sent. |
participant | Receiver of private message. |
handler | A block to be called when the operation is completed.
error If the operation was successful this parameter is nil. If an error occurred it contains an object describing the error.
|
- See also
- CSChat::sendPublicMessage:toParticipant:completionHandler:
-
CSChatDelegate
- (void) sendPublicMessage: |
|
(NSString *) |
message |
completionHandler: |
|
(void(^)(NSError *error)) |
handler |
|
|
| |
Sends public chat message which can be seen by all conference participant.
Client is notified about successful operation also by CSChatDelegate apart from completion handler.
- Parameters
-
message | Message to be sent. |
handler | A block to be called when the operation is completed.
error If the operation was successful this parameter is nil. If an error occurred it contains an object describing the error.
message If the operation was successful this parameter contains sent message.
|
- See also
- - sendPrivateMessage:toParticipant:completionHandler:
-
CSChatDelegate
The delegate used to handle chat-related events.
- (NSArray*) privateMessages |
|
readatomiccopy |
- (NSArray*) publicMessages |
|
readatomiccopy |
The documentation for this class was generated from the following file: