SOSCameraType Constants Reference

Declared in SOSOptions.h

SOSCameraType

Sets the starting view for the current SOS Session.

Definition

typedef NS_ENUM(NSInteger, SOSCameraType ) {
   SOSCameraTypeScreenSharing,
   SOSCameraTypeFrontFacing,
   SOSCameraTypeBackFacing,
};

Constants

SOSCameraTypeScreenSharing

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 to YES. If it is not, then the session will return a SOSInvalidOptionsCameraSettings error.

Declared In SOSOptions.h.

SOSCameraTypeFrontFacing

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 to YES. If it is not, then the session will return a SOSInvalidOptionsCameraSettings error.

Declared In SOSOptions.h.

SOSCameraTypeBackFacing

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 to YES. If it is not, then the session will return a SOSInvalidOptionsCameraSettings error.

Declared In SOSOptions.h.

Declared In

SOSOptions.h