Settings

@objc
public class Settings : NSObject

Maintains configuration flags for the call component. The Controller singleton has an instance of this class as a member. Specify the settings directly on this member class as follows:

Controller.shared.settings.startVideoInFullScreen = true
Controller.shared.settings.startCallWithLoudSpeaker = true
  • If true, video is shown in full screen mode when call is started.

    Declaration

    Swift

    @objc
    public var startVideoInFullScreen: Bool { get set }
  • If true, audio will be played through loud speaker when call is started.

    Declaration

    Swift

    @objc
    public var startCallWithLoudSpeaker: Bool { get set }
  • If true, video is displayed from the front camera when video preview first shows up.

    Declaration

    Swift

    @objc
    public var startVideoWithFrontCamera: Bool { get set }
  • Specifies whether the end call button is hidden. If false (the default), the end call button is shown.

    Declaration

    Swift

    @objc
    public var hideEndCallButton: Bool { get set }
  • Specifies whether the pause button is hidden. If false (the default), the pause button is shown.

    Declaration

    Swift

    @objc
    public var hidePauseButton: Bool { get set }
  • An opaque configuration object relating to identity verification.

    Declaration

    Swift

    @objc
    public var idVerificationConfig: Any? { get set }
  • If true, the call will automaticallly start connecting after addComponent, without the need to press avatar button. Default is false.

    Declaration

    Swift

    @objc
    public var startCallDirectly: Bool { get set }
  • If true, the call queue indicator is not shown on the video preview view.

    Declaration

    Swift

    @objc
    public var hideQueueLengthIndicator: Bool { get set }
  • If true, we ask Jumio to attempt a face match when running ID Verification calls.

    Declaration

    Swift

    @objc
    public var attemptFaceMatchWhenVerifyingIdentity: Bool { get set }