SCSChatEventDelegate
@protocol SCSChatEventDelegate <NSObject>
The SCSChatEventDelegate protocol provides general event information about the chat
session. Add your implementation to -[SCSChat addEventDelegate:].
See
SCSChat
-
Declaration
Objective-C
- (void)session:(id<SCSChatSession>)session agentJoined:(SCSAgentJoinEvent *)agentjoinedEvent;Parameters
agentjoinedEventInfo about the agent joining the session.
-
Tells the delegate when an outgoing message has been processed and sent. Inspect the
messageparameter to determine whether the sent message was modified.See
See
Declaration
Objective-C
- (void)session:(id<SCSChatSession>)session processedOutgoingMessage:(SCSUserTextEvent *)message;Parameters
messageInfo about the outgoing message.
-
Tells the delegate when the menu item has been selected.
See
Declaration
Objective-C
- (void)session:(id<SCSChatSession>)session didSelectMenuItem:(SCSChatMenuSelectionEvent *)menuEvent;Parameters
menuEventInfo about the selected menu item.
-
Declaration
Objective-C
- (void)session:(id<SCSChatSession>)session didReceiveMessage:(SCSAgentTextEvent *)message;Parameters
messageInfo about the incoming message.
-
Tells the delegate when a chatbot menu has been received from the org.
See
Declaration
Objective-C
- (void)session:(id<SCSChatSession>)session didReceiveChatBotMenu:(SCSChatBotMenuEvent *)menuEvent;Parameters
menuEventInfo about the chatbot menu.
-
Tells the delegate when an agent requests a file transfer.
See
Declaration
Objective-C
- (void)session:(id<SCSChatSession>)session didReceiveFileTransferRequest:(SCSFileTransferEvent *)fileTransferEvent;Parameters
fileTransferEventInfo about the file transfer request.
-
Tells the delegate when a transfer to an agent is initiated.
Declaration
Objective-C
- (void)transferToButtonInitiatedWithSession:(id<SCSChatSession>)session;Parameters
sessionInfo about the chat session.
-
Tells the delegate when a transfer to an agent is completed.
Declaration
Objective-C
- (void)transferToButtonCompletedWithSession:(id<SCSChatSession>)session;Parameters
sessionInfo about the chat session.
-
Tells the delegate when an agent begins typing.
Declaration
Objective-C
- (void)agentBeganTypingWithSession:(id<SCSChatSession>)session;Parameters
sessionInfo about the chat session.
-
Tells the delegate when an agent finishes typing.
Declaration
Objective-C
- (void)agentFinishedTypingWithSession:(id<SCSChatSession>)session;Parameters
sessionInfo about the chat session.
-
Tells the delegate when a URL has been detected in a message.
Declaration
Objective-C
- (void)session:(id<SCSChatSession>)session didReceiveURL:(SCSURLEvent *)urlEvent;Parameters
urlEventInfo about the detected URL.
Install in Dash
SCSChatEventDelegate Protocol Reference