-
- All Implemented Interfaces:
-
io.getstream.video.android.core.notifications.handlers.StreamNotificationProviderWithPayload,io.getstream.video.android.core.notifications.handlers.StreamSettingUpCallNotificationProvider
public interface StreamNotificationProvider implements StreamNotificationProviderWithPayload, StreamSettingUpCallNotificationProvider
-
-
Method Summary
Modifier and Type Method Description NotificationgetIncomingCallNotification(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 NotificationgetOngoingCallNotification(StreamCallId callId, String callDisplayName, Boolean isOutgoingCall, Integer remoteParticipantCount)Customize the notification when you receive a push notification for ringing call with type RingingState.Outgoing and RingingState.Active NotificationgetRingingCallNotification(RingingState ringingState, StreamCallId callId, String callDisplayName, Boolean shouldHaveContentIntent)Customize the notification when you receive a push notification for ringing call NotificationgetMissedCallNotification(StreamCallId callId, String callDisplayName)Customize the notification when you receive a push notification for Missed Call NotificationgetSettingUpCallNotification()Temporary notification. NotificationgetSettingUpCallNotification(String trigger, StreamCallId callId)-
Methods inherited from class io.getstream.video.android.core.notifications.handlers.StreamNotificationProvider
getIncomingCallNotification, getMissedCallNotification, getOngoingCallNotification, getRingingCallNotification -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
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 notificationshouldHaveContentIntent- If true, clicking the notification triggers fullScreenPendingIntent.
-
getOngoingCallNotification
@Deprecated(message = Use the one with payload: Map<String, Any?>, replaceWith = @ReplaceWith(imports = {}, expression = getOngoingCallNotification(callId,callDisplayName,isOutgoingCall,remoteParticipantCount)), level = DeprecationLevel.WARNING) Notification getOngoingCallNotification(StreamCallId callId, String callDisplayName, Boolean isOutgoingCall, Integer remoteParticipantCount)
Customize the notification when you receive a push notification for ringing call with type RingingState.Outgoing and RingingState.Active
- Parameters:
callId- An instance of StreamCallId representing the call identifiercallDisplayName- The name of the caller to display in the notificationisOutgoingCall- True if the call is outgoing RingingState.Outgoing, false if it is an active call RingingState.Active.remoteParticipantCount- Count of remote participant
-
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 RingingStatecallId- An instance of StreamCallId representing the call identifiercallDisplayName- The name of the caller to display in the notificationshouldHaveContentIntent- 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 identifiercallDisplayName- 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.
-
getSettingUpCallNotification
Notification getSettingUpCallNotification(String trigger, StreamCallId callId)
-
-
-
-