DialParams
@objcMembers
@objc(SBCDialParams)
public class DialParams : NSObject
extension DialParams: NSCopying
Parameter for dialing another user. Contains initial configurations for the call.
Since
1.0.0-
User Id of the callee to be called.
Since
1.0.0Declaration
Swift
public var calleeId: String -
Boolvalue indicating whether the call supports vieo call. The default value isfalse.Since
1.0.0Declaration
Swift
public var isVideoCall: Bool -
Options for the call.
Since
1.0.0Declaration
Swift
public var callOptions: CallOptions -
Custom items for the call.
Since
1.0.0Declaration
Swift
public var customItems: [String : String] -
Undocumented
Declaration
Swift
public var sendbirdChatOptions: SendBirdChatOptions? -
Holds the active call and dials a new call.
Since
1.8.0Declaration
Swift
public var holdActiveCall: Bool -
Since
1.8.0.
Declaration
Swift
public init( calleeId: String, isVideoCall: Bool = false, callOptions: CallOptions = CallOptions(), customItems: [String: String] = [:], sendbirdChatOptions: SendBirdChatOptions? = nil, holdActiveCall: Bool = false )Parameters
calleeIdThe callee’s user ID
isVideoCallBoolvalue indicating whether the call supports vieo call. The default value isfalse.callOptionsCall options for configuring the outgoing call. The default value is
CallOptions()with only audio call capability.customItemsCustom items for the call. The default value is empty dictionary.
sendbirdChatOptionsOptions for configuring SendBird Chat.
holdActiveCallHolds the active call and dials a new call.
-
Since
1.5.0
Declaration
Swift
convenience public init( calleeId: String, isVideoCall: Bool = false, callOptions: CallOptions = CallOptions(), customItems: [String: String] = [:] )Parameters
calleeIdThe callee’s user ID
isVideoCallBoolvalue indicating whether the call supports vieo call. The default value isfalse.callOptionsCall options for configuring the outgoing call. The default value is
CallOptions()with only audio call capability.customItemsCustom items for the call. The default value is empty dictionary.
-
Since
1.0.0
Declaration
Swift
public convenience init(calleeId: String)Parameters
calleeIdThe callee’s user ID
-
Returns a copied instance of the
DialParams.Declaration
Swift
public func copy(with zone: NSZone? = nil) -> Any
View on GitHub
DialParams Class Reference