StreamNotificationProviderWithPayload

Functions

Link copied to clipboard
abstract fun getIncomingCallNotification(fullScreenPendingIntent: PendingIntent, acceptCallPendingIntent: PendingIntent, rejectCallPendingIntent: PendingIntent, callerName: String?, shouldHaveContentIntent: Boolean, payload: Map<String, Any?>): Notification?

Customize the notification when you receive a push notification for ringing call with type RingingState.Incoming

Link copied to clipboard
abstract fun getMissedCallNotification(callId: StreamCallId, callDisplayName: String? = null, payload: Map<String, Any?>): Notification?

Customize the notification when you receive a push notification for Missed Call

Link copied to clipboard
abstract fun getOngoingCallNotification(callId: StreamCallId, callDisplayName: String? = null, isOutgoingCall: Boolean = false, remoteParticipantCount: Int = 0, payload: Map<String, Any?>): Notification?

Customize the notification when you receive a push notification for ringing call with type RingingState.Outgoing and RingingState.Active

Link copied to clipboard
abstract fun getRingingCallNotification(ringingState: RingingState, callId: StreamCallId, callDisplayName: String? = null, shouldHaveContentIntent: Boolean = true, payload: Map<String, Any?>): Notification?

Customize the notification when you receive a push notification for ringing call