NotificationHandler

interface NotificationHandler : NotificationPermissionHandler

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun getNotificationUpdates(coroutineScope: CoroutineScope, call: Call, localUser: User, onUpdate: (Notification) -> Unit)

Get subsequent updates to notifications. Initially, notifications are posted by one of the other methods, and then this method can be used to re-post them with updated content.

Link copied to clipboard
abstract fun getOngoingCallNotification(callId: StreamCallId, callDisplayName: String? = null, isOutgoingCall: Boolean = false, remoteParticipantCount: Int = 0): Notification?
Link copied to clipboard
abstract fun getRingingCallNotification(ringingState: RingingState, callId: StreamCallId, callDisplayName: String? = null, shouldHaveContentIntent: Boolean = true): Notification?
Link copied to clipboard
Link copied to clipboard
abstract fun onLiveCall(callId: StreamCallId, callDisplayName: String)
Link copied to clipboard
abstract fun onMissedCall(callId: StreamCallId, callDisplayName: String)
Link copied to clipboard
abstract fun onNotification(callId: StreamCallId, callDisplayName: String)
Link copied to clipboard
abstract fun onRingingCall(callId: StreamCallId, callDisplayName: String)

Inherited functions

Link copied to clipboard
abstract fun onPermissionDenied()
Link copied to clipboard
abstract fun onPermissionGranted()
Link copied to clipboard
abstract fun onPermissionRationale()
Link copied to clipboard
abstract fun onPermissionRequested()