onRingingCall

open fun onRingingCall(callId: StreamCallId, callDisplayName: String)

Deprecated

Use the one with payload: Map<String, Any?>

Replace with

onRingingCall(callId, callDisplayName, emptyMap())

Customize the notification when you receive a push notification for ringing call, which has further two types RingingState.Incoming and RingingState.Outgoing

Parameters

callId

An instance of StreamCallId representing the call identifier

callDisplayName

The name of the caller to display in the notification