SOSUIPhase
enum SOSUIPhase {}
Sets the Phase of the UI that will be replaced by the user
See
SOSOptions
-
Onboarding Phase. This phase is used for showing the user information about the support system that is about to be activated. The options could be presented to the user to allow access to the camera or mic. How the SOS system functions could also be relayed to this user. The class associated with this phase must extend
SOSOnboardingBaseViewController
and implement the protocolSOSOnboardingViewController
.Declaration
Objective-C
SOSUIPhaseOnboarding
Swift
case onboarding = 0
-
Connecting Phase. This phase is used for showing the user information while the SOS system is connecting to the user. The class associated with this phase must extend
SOSConnectingBaseViewController
and implement the protocolSOSConnectingViewController
.Declaration
Objective-C
SOSUIPhaseConnecting
Swift
case connecting = 1
-
ScreenSharing Phase. This phase is the UI shown to the user during the screen sharing phase. The class associated with this phase must extend
SOSSessionBaseViewController
and implement the protocolsSOSUILineDrawingReceivable
andSOSUIAgentStreamReceivable
.Declaration
Objective-C
SOSUIPhaseScreenSharing
Swift
case screenSharing = 2
-
Camera Phase. This phase is the UI shown to the user when the camera is in use. The class associated with this phase must extend
SOSCameraBaseViewController
and implement the protocolsSOSUIAgentStreamReceivable
andSOSUIDeviceCameraReceivable
.Declaration
Objective-C
SOSUIPhaseCamera
Swift
case camera = 3