SinchDialStreamOptions
public struct SinchDialStreamOptions
Options for dialing an audio stream through the Sinch Voice V2 platform.
Warning
Beta API. It is functional, but its signature or behaviour may change in a future release without going through the usual deprecation cycle.-
Voice V2 service ID to use for the dial. If
nil, the project’s default service is used.Declaration
Swift
public var serviceId: String? -
Audio stream configuration. If
nil, the Voice V2 platform applies its defaults.Declaration
Swift
public var streamOptions: SinchDialStreamConfiguration? -
String key-value pairs to pass with the call. At most 16 headers; each key must be 1 to 255 characters, and each value at most 255 characters. The call will fail immediately in case of invalid headers.
Declaration
Swift
public var callHeaders: [String : Any]? -
Undocumented
Declaration
Swift
public init(serviceId: String? = nil, streamOptions: SinchDialStreamConfiguration? = nil, callHeaders: [String: Any]? = nil)