SCSChatDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | SCSChatDelegate.h |
– chat:stateDidChange:previous:
Delegate method invoked when the Live Agent Chat session state changes.
- (void)chat:(SCSChat *)chat stateDidChange:(SCSChatSessionState)current previous:(SCSChatSessionState)previous
Parameters
chat |
|
---|---|
current |
The new |
previous |
The previous |
Declared In
SCSChatDelegate.h
– chat:didEndWithReason:error:
Delegate method invoked when a Live Agent Session Ends.
- (void)chat:(SCSChat *)chat didEndWithReason:(SCSChatEndReason)reason error:(NSError *)error
Parameters
chat |
|
---|---|
reason |
|
error |
|
Declared In
SCSChatDelegate.h
– chat:didError:
Delegate method invoked if an error is raised during a Live Agent Chat session.
- (void)chat:(SCSChat *)chat didError:(NSError *)error
Parameters
chat |
|
---|---|
error |
|
Declared In
SCSChatDelegate.h
– chat:didUpdateQueuePosition:
Delegate method invoked when the Live Agent Session moves in the agent queue.
- (void)chat:(SCSChat *)chat didUpdateQueuePosition:(NSNumber *)position
Parameters
chat |
|
---|---|
position |
|
Declared In
SCSChatDelegate.h