Skip to content

DeclineOptions

Ajša Terko edited this page Feb 22, 2023 · 1 revision

static builder()

Description

Creates a builder instance used to build a new instance of DeclineOptions.

Arguments

  • none

Returns

Example

let declineOptionsBuilder = DeclineOptions.builder();
let declineOptions = declineOptionsBuilder.build();



declineOnAllDevices()

Description

Getter for the declineOnAllDevices field.

Arguments

  • none

Returns

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

Example

let declineOptions = DeclineOptions.builder().setDeclineOnAllDevices(true).build();
console.log(`Incoming call will be declined on all devices: ${declineOptions.declineOnAllDevices()}`);

Tutorials

Migration guides

Reference documentation

Clone this wiki locally