Skip to content

DeclineOptions

Adnan Mujagić edited this page Jun 11, 2024 · 2 revisions



init(_ declineOnAllDevices)

Description

Creates an instance of the DeclineOptions.

Arguments

  • declineOnAllDevices: Bool - if false, this call will only be rejected on the current device, while other devices receiving this call won't be affected and may still receive the call.

Returns

Example

let declineOptions = DeclineOptions(true)



declineOnAlldevices

Description

Getter for the declineOnAllDevices field.

Returns

  • Bool - Value of the declineOnAllDevices field. true if the incoming call should be declined on all devices, otherwise false.

Example

let declineOptions = DeclineOptions(true)
let isDeclinedOnAllDevices = declineOptions.declineOnAllDevices

Tutorials

Migration guides

Reference documentation

Clone this wiki locally