Skip to content

Function: addCallIntentReceivedListener()

ts
function addCallIntentReceivedListener(listener): EventSubscription;

Defined in: Calls.ts:346

Subscribes to call intent received events.

Fired when the user initiates a call from outside the app, such as tapping a contact in the iOS Recents list or via Siri. The event contains the handle (phone number/email) and whether video is requested.

The app should resolve the handle to a known recipient and call startOutgoingCall to fulfill the intent.

Parameters

ParameterTypeDescription
listener(event) => voidCallback invoked when a call intent is received.

Returns

EventSubscription

A subscription that can be removed by calling .remove().

Released under the MIT License.