StreamNotificationBuilderInterceptors
Interceptor for notification builders.
Functions
Link copied to clipboard
open fun onBuildIncomingCallNotification(builder: NotificationCompat.Builder, fullScreenPendingIntent: PendingIntent, acceptCallPendingIntent: PendingIntent, rejectCallPendingIntent: PendingIntent, callerName: String?, shouldHaveContentIntent: Boolean): NotificationCompat.Builder
open fun onBuildIncomingCallNotification(builder: NotificationCompat.Builder, fullScreenPendingIntent: PendingIntent, acceptCallPendingIntent: PendingIntent, rejectCallPendingIntent: PendingIntent, callerName: String?, shouldHaveContentIntent: Boolean, payload: Map<String, Any?>): NotificationCompat.Builder
Intercept the notification builder and modify it before it is posted.
Link copied to clipboard
open fun onBuildMediaNotificationMetadata(builder: MediaMetadataCompat.Builder, callId: StreamCallId): MediaMetadataCompat.Builder
Intercept the notification builder and modify the media metadata before it is posted.
Link copied to clipboard
open fun onBuildMediaNotificationPlaybackState(builder: PlaybackStateCompat.Builder, callId: StreamCallId): PlaybackStateCompat.Builder
Intercept the notification builder and modify the media playback state before it is posted.
Link copied to clipboard
open fun onBuildMediaNotificationStyle(style: NotificationCompat.MediaStyle, callId: StreamCallId): NotificationCompat.MediaStyle
open fun onBuildMediaNotificationStyle(style: NotificationCompat.MediaStyle, callId: StreamCallId, payload: Map<String, Any?>): NotificationCompat.MediaStyle
Intercept the notification builder and modify the media style before it is posted.
Link copied to clipboard
open fun onBuildMissedCallNotification(builder: NotificationCompat.Builder, callDisplayName: String?): NotificationCompat.Builder
open fun onBuildMissedCallNotification(builder: NotificationCompat.Builder, callDisplayName: String?, payload: Map<String, Any?>): NotificationCompat.Builder
Intercept the notification builder and modify it before it is posted.
Link copied to clipboard
open fun onBuildOngoingCallMediaNotification(builder: NotificationCompat.Builder, callId: StreamCallId): NotificationCompat.Builder
open fun onBuildOngoingCallMediaNotification(builder: NotificationCompat.Builder, callId: StreamCallId, payload: Map<String, Any?>): NotificationCompat.Builder
Link copied to clipboard
open fun onBuildOngoingCallNotification(builder: NotificationCompat.Builder, callId: StreamCallId, callDisplayName: String? = null, isOutgoingCall: Boolean = false, remoteParticipantCount: Int = 0): NotificationCompat.Builder
open fun onBuildOngoingCallNotification(builder: NotificationCompat.Builder, callId: StreamCallId, callDisplayName: String? = null, isOutgoingCall: Boolean = false, remoteParticipantCount: Int = 0, payload: Map<String, Any?>): NotificationCompat.Builder
Intercept the notification builder and modify it before it is posted.
Link copied to clipboard
open fun onBuildOutgoingCallNotification(builder: NotificationCompat.Builder, ringingState: RingingState, callId: StreamCallId, callDisplayName: String? = null, shouldHaveContentIntent: Boolean = true): NotificationCompat.Builder
open fun onBuildOutgoingCallNotification(builder: NotificationCompat.Builder, ringingState: RingingState, callId: StreamCallId, callDisplayName: String? = null, shouldHaveContentIntent: Boolean = true, payload: Map<String, Any?>): NotificationCompat.Builder
Intercept the notification builder and modify it before it is posted.
Link copied to clipboard
open fun onCreateMediaSessionCompat(application: Application, channelId: String): MediaSessionCompat?
Intercept the media session creation and modify it before it is posted.