Package 

Interface StreamNotificationProvider

    • Method Detail

      • getIncomingCallNotification

        @Deprecated(message = Use the one with payload: Map<String, Any?>, replaceWith = @ReplaceWith(imports = {}, expression = getIncomingCallNotification(fullScreenPendingIntent,acceptCallPendingIntent,rejectCallPendingIntent,callerName,shouldHaveContentIntent,emptyMap())), level = DeprecationLevel.WARNING) Notification getIncomingCallNotification(PendingIntent fullScreenPendingIntent, PendingIntent acceptCallPendingIntent, PendingIntent rejectCallPendingIntent, String callerName, Boolean shouldHaveContentIntent)

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

        Parameters:
        fullScreenPendingIntent - A high-priority intent that launches an activity in full-screen mode, bypassing the lock screen.
        acceptCallPendingIntent - The intent triggered when accepting the call from the notification.
        rejectCallPendingIntent - The intent triggered when rejecting the call from the notification.
        callerName - The name of the caller to display in the notification
        shouldHaveContentIntent - If true, clicking the notification triggers fullScreenPendingIntent.
      • getRingingCallNotification

        @Deprecated(message = Use the one with payload: Map<String, Any?>, replaceWith = @ReplaceWith(imports = {}, expression = getRingingCallNotification(ringingState,callId,callDisplayName,shouldHaveContentIntent)), level = DeprecationLevel.WARNING) Notification getRingingCallNotification(RingingState ringingState, StreamCallId callId, String callDisplayName, Boolean shouldHaveContentIntent)

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

        Parameters:
        ringingState - The current state of ringing call, represented by RingingState
        callId - An instance of StreamCallId representing the call identifier
        callDisplayName - The name of the caller to display in the notification
        shouldHaveContentIntent - If set to true then it will launch a screen when the user will click on the notification
      • getMissedCallNotification

        @Deprecated(message = Use the one with payload: Map<String, Any?>, replaceWith = @ReplaceWith(imports = {}, expression = getMissedCallNotification(callId,callDisplayName,emptyMap())), level = DeprecationLevel.WARNING) Notification getMissedCallNotification(StreamCallId callId, String callDisplayName)

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

        Parameters:
        callId - An instance of StreamCallId representing the call identifier
        callDisplayName - The name of the caller to display in the notification
      • getSettingUpCallNotification

        @Deprecated(message = Use StreamSettingUpCallNotificationProvider.getSettingUpCallNotification(trigger,callId), replaceWith = @ReplaceWith(imports = {}, expression = StreamSettingUpCallNotificationProvider.getSettingUpCallNotification(trigger,callId)), level = DeprecationLevel.WARNING) Notification getSettingUpCallNotification()

        Temporary notification. Sometimes the system needs to show a notification while the call is not ready. This is the notification that will be shown.