[Under Development] Acquire Delegates for iOS
Our SDK is currently under review. Check back later for updates.
AcquireIOSupport iOS SDK Delegates
To add listeners provided by AcquireIOSupport SDK, add the following line on your class where you want to listen to our SDK events
ConnectionStatusChange
This method will be called by SDK when connection status will change. The details of status that was updated during the connection will be available in the argument.
AcquireIOConnectionStatus - Connection session status
Once connection is established with Acquire server, the delegate will receive either didChangeConnectionStatus: or onError:.
onError
This function will provide connection related error i.e. invalid input data, expire data etc. To get more details about the error encountered while establishing connection, Implement below delegate method
onCallSupportStatusChange
When status of Audio/Video call with Agent changes SDK will call below method. The details of call status that was updated during the connection will be available in the arguments along with the optional message string. To get the call connection status, use
AcquireIOCallSupportStatus - Call status
onAgentConnected
This will be called when agent is connected.
didChangeAgentStatus
This optional method will be called by SDK when Agent status changes. The details of agent status
that was updated during the connection will be available in the argument along with Agent ID
.
AcquireIOAgentStatus - Status for the agent.
didUserInteracted
This will be called when user interacts with events.
Event Types available are listed below:
Note: For Lite version, only following events will be received
conversationStart
conversationEnd
conversationFeedbackSubmit
didReceiveTriggerEvent
This optional method will be called when fire rule matched for created Triggers from the agent panel. It will receive eventName
as parameter
openSupport
This optional method will be called when support view controller is open.
hideSupport
This optional method will be called when support view controller is dismissed.
didReceiveNewMessage
This optional method will be called by SDK when a new message has been received. The details of the message received will be available in the argument.
Last updated