Avaya Client Services API Reference (iOS)
|
An interface that the client application needs to implement to receive the result of an agent login or logout operation and agent state updates. More...
#import <CSAgentService.h>
Inherits <NSObjectNSObject>.
Instance Methods | |
(void) | - agentService:didChangeAgentState: |
Reports agent state changed. More... | |
(void) | - agentDidLogin: |
Reports agent successfully logged-in. More... | |
(void) | - agentDidLogout: |
Reports agent successfully logged-out. More... | |
(void) | - agentAutoLoginSucceeded: |
Reports automatic agent login success. More... | |
(void) | - agentService:didFailToPerformAgentAutoLoginWithError: |
Reports automatic agent login failure. More... | |
(void) | - agentAutoLogoutSucceeded: |
Reports automatic agent logout success. More... | |
(void) | - agentService:didFailToPerformAgentAutoLogoutWithError: |
Reports automatic agent logout failure. More... | |
An interface that the client application needs to implement to receive the result of an agent login or logout operation and agent state updates.
One or more listeners can be registered with an instance of the AgentService object to retrieve updates. All of the callback methods defined in AgentLoginListener interface identify the user the callback is associated with, using the 'user' argument.
- (void) agentAutoLoginSucceeded: | (CSAgentService *) | agentService |
Reports automatic agent login success.
agentService | Agent service instance the callback is associated with. |
- (void) agentAutoLogoutSucceeded: | (CSAgentService *) | agentService |
Reports automatic agent logout success.
agentService | Agent service instance the callback is associated with. |
- (void) agentDidLogin: | (CSAgentService *) | agentService |
Reports agent successfully logged-in.
agentService | instance of Agent service callback is associated with |
- (void) agentDidLogout: | (CSAgentService *) | agentService |
Reports agent successfully logged-out.
agentService | instance of Agent service callback is associated with |
- (void) agentService: | (CSAgentService *) | agentService | |
didChangeAgentState: | (CSAgentState) | agentState | |
Reports agent state changed.
agentService | instance of Agent service callback is associated with |
agentState | new agent state |
- (void) agentService: | (CSAgentService *) | agentService | |
didFailToPerformAgentAutoLoginWithError: | (NSError *) | error | |
Reports automatic agent login failure.
agentService | Agent service instance the callback is associated with. |
error | The reason of failure. |
- (void) agentService: | (CSAgentService *) | agentService | |
didFailToPerformAgentAutoLogoutWithError: | (NSError *) | error | |
Reports automatic agent logout failure.
agentService | Agent service instance the callback is associated with. |
error | The reason of failure. |