SOSCameraType
enum SOSCameraType {}
Sets the starting view for the current SOS Session.
See
SOSOptions
-
Screen sharing mode. This mode is for sharing the screen view with an agent. If you wish to use this as the starting camera you must ensure that
SOSOptions.featureClientScreenSharingEnabled
has been set toYES
. If it is not, then the session will return aSOSInvalidOptionsCameraSettings
error.Declaration
Objective-C
SOSCameraTypeScreenSharing
Swift
case screenSharing = 0
-
Camera on the front of the device (selfie camera). This mode is for sharing the front-facing camera with an agent. If you wish to use this as the starting camera you must ensure that
SOSOptions.featureClientFrontCameraEnabled
has been set toYES
. If it is not, then the session will return aSOSInvalidOptionsCameraSettings
error.Declaration
Objective-C
SOSCameraTypeFrontFacing
Swift
case frontFacing = 1
-
Camera on the back of the device. This mode is for sharing the back-facing camera with an agent. If you wish to use this as the starting camera you must ensure that
SOSOptions.featureClientBackCameraEnabled
has been set toYES
. If it is not, then the session will return aSOSInvalidOptionsCameraSettings
error.Declaration
Objective-C
SOSCameraTypeBackFacing
Swift
case backFacing = 2