SOSConnectingViewController
@protocol SOSConnectingViewController <NSObject>
Protocol which defines properties and methods which are required for all view controllers which will accommodate the role for onboarding in SOS.
-
Message from the backend which indicates that the session is initializing.
This method allows your implementation to present a custom message for this event. This is entirely optional as no input is required from the user.
Declaration
Objective-C
- (void)initializingNotification;
Swift
optional func initializingNotification()
-
Message from the backend which indicates that the session has been placed in a queue and we are waiting for an agent to connect.
This method allows your implementation to present a custom message for this event. This is entirely optional as no input is required from the user.
Declaration
Objective-C
- (void)waitingForAgentNotification;
Swift
optional func waitingForAgentNotification()
-
Message from the backend which indicates that an agent is connecting to the session. Once the session has been fully established the session will move on to the next phase.
This method allows your implementation to present a custom message for this event. This is entirely optional as no input is required from the user.
Declaration
Objective-C
- (void)agentJoinedNotification;
Swift
optional func agentJoinedNotification()
-
Message from the backend which provides the agent name and indicates that it is available.
Declaration
Objective-C
- (void)agentNameDidChange:(NSString *_Nullable)agentName;
Swift
optional func agentNameDidChange(_ agentName: String?)
Parameters
agentName
the name of the agent