Skip to content

IncomingCall

Kenan Genjac edited this page Feb 23, 2023 · 3 revisions

extends Call



accept()

Description

Accepts an incoming call, which ends up in both parties receiving CallEstablishedEvent, after accept is processed by Infobip WebRTC platform.

Arguments

  • none

Returns

  • N/A

Example

incomingCall.accept()



decline()

Description

Declines the incoming call, which ends up in both parties receiving the CallHangupEvent, after decline is processed by Infobip WebRTC platform.

Arguments

  • none

Returns

  • N/A

Example

incomingCall.decline()



decline(declineOptions)

Description

Declines the incoming call, which ends up in both parties receiving the CallHangupEvent, after decline is processed by Infobip WebRTC platform. DeclineOptions give a control over declining the call on all devices.

Arguments

  • none

Returns

  • N/A

Example

incomingCall.decline(DeclineOptions(true))

Tutorials

Migration guides

Reference documentation

Clone this wiki locally