Skip to content

DeclineOptions

Lejla Solak edited this page Feb 10, 2025 · 3 revisions



static builder()

Description

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

Arguments

  • none

Returns

Example

DeclineOptions.DeclineOptionsBuilder declineOptionsBuilder = DeclineOptions.builder();



isDeclineOnAllDevices()

Description

Getter for the declineOnAllDevices field.

Arguments

  • none

Returns

  • boolean - The value of the declineOnAllDevices field indicating whether an incoming call should be declined on all devices.

Example

DeclineOptions declineOptions = DeclineOptions.builder().setDeclineOnAllDevices(true).build();
boolean isDeclineOnAllDevicesEnabled = declineOptions.isDeclineOnAllDevices();



DeclineOptionsBuilder




setDeclineOnAllDevices(declineOnAllDevices)

Description

Setter for the declineOnAllDevices field.

Arguments

  • declineOnAllDevices: boolean - true if an incoming call should be declined on all devices. Disabled by default.

Returns

Example

DeclineOptions.DeclineOptionsBuilder declineOptionsBuilder = DeclineOptions.builder().setDeclineOnAllDevices(true);



build()

Description

Builds a new instance of the DeclineOptions.

Arguments

  • none

Returns

Example

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

Tutorials

Migration guides

Reference documentation

Clone this wiki locally