Skip to content

IncomingApplicationCall

Adnan Elezović edited this page May 31, 2023 · 2 revisions

extends ApplicationCall



from

Description

Read-only string property containing the identifier of the caller that made the call.



fromDisplayName

Description

Read-only string property containing an optional display identifier of the caller that made the call.



accept()

Description

Accepts incoming application call, which ends up in the call being connected to your application.

Arguments

  • none

Returns

  • N/A

Example

incomingApplicationCall.accept()



accept(applicationCallOptions)

Description

Accepts incoming application call, which ends up in the call being connected to your application. This method overrides application call options and lets you accept call with different ones.

Arguments

Returns

  • N/A

Example

let applicationCallOptions = ApplicationCallOptions(video: true)
incomingApplicationCall.accept(applicationCallOptions)



decline()

Description

Declines incoming call.

Arguments

  • none

Returns

  • N/A

Example

incomingApplicationCall.decline()



decline(declineOptions)

Description

Declines an incoming call, with an option do decline it on all devices.

Arguments

  • declineOptions: DeclineOptions - Optional additional option to decline an incoming call on all devices.

Returns

  • N/A

Example

incomingApplicationCall.decline(DeclineOptions(true))

Tutorials

Migration guides

Reference documentation

Clone this wiki locally