CallOptions

@available(iOS 12.0, *)
@objc(BDKCallOptions)
public class CallOptions : NSObject

A value object representing the options used when creating a call.

Properties

  • A value indicating whether the call can be recorded or not.

    When the value of this property is CallRecordingType.none the call won’t be recorded.

    Since

    3.0.0

    Declaration

    Swift

    @objc
    public private(set) var recordingType: CallRecordingType { get }
  • The maximum duration in seconds for the call. If the value is zero the call will last until all participants have left.

    Declaration

    Swift

    @objc
    public private(set) var maximumDuration: UInt { get }

Call type

  • The call type.

    Declaration

    Swift

    @objc
    public private(set) var callType: Bandyer.CallType { get }
  • Returns a flag indicating whether the call type is audio / video, or not.

    Declaration

    Swift

    @objc
    public func isAudioVideo() -> Bool

    Return Value

    a flag indicating whether the call type is audio / video, or not.

  • Returns a flag indicating whether the call type is audio upgradable, or not.

    Declaration

    Swift

    @objc
    public func isAudioUpgradable() -> Bool

    Return Value

    a flag indicating whether the call type is audio upgradable, or not.

  • Returns a flag indicating whether the call type is audio only, or not.

    Declaration

    Swift

    @objc
    public func isAudioOnly() -> Bool

    Return Value

    a flag indicating whether the call type is audio only, or not.

Initialization

Factory methods