DialStreamOptions

data class DialStreamOptions @JvmOverloads constructor(val serviceId: String? = null, val streamOptions: DialStreamConfiguration? = null, val callHeaders: Map<String, String>? = null)

Options for dialing an audio stream through the Sinch Voice V2 platform.

Parameters

serviceId

Voice V2 service ID to use for the dial. If null, the project's default service is used.

streamOptions

Audio stream configuration. If null, the Voice V2 platform applies its defaults.

callHeaders

Custom headers included in the destination call setup. If null, no custom headers are included. At most 16 headers; each key must be 1 to 255 characters, and each value at most 255 characters.

Constructors

Link copied to clipboard
constructor(serviceId: String? = null, streamOptions: DialStreamConfiguration? = null, callHeaders: Map<String, String>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard