-
- All Implemented Interfaces:
-
io.getstream.video.android.core.notifications.handlers.StreamNotificationHandlerWithPayload
public interface StreamNotificationHandler implements StreamNotificationHandlerWithPayload
-
-
Method Summary
Modifier and Type Method Description UnitonRingingCall(StreamCallId callId, String callDisplayName)Customize the notification when you receive a push notification for ringing call, which has further two types RingingState.Incoming and RingingState.Outgoing UnitonMissedCall(StreamCallId callId, String callDisplayName)Customize the notification when you receive a push notification for Missed Call UnitonNotification(StreamCallId callId, String callDisplayName)Customize the notification when you receive a push notification for general usage UnitonLiveCall(StreamCallId callId, String callDisplayName)Customize the notification when you receive a push notification for Live Call -
Methods inherited from class io.getstream.video.android.core.notifications.handlers.StreamNotificationHandler
onLiveCall, onMissedCall, onNotification, onRingingCall -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onRingingCall
@Deprecated(message = Use the one with payload: Map<String, Any?>, replaceWith = @ReplaceWith(imports = {}, expression = onRingingCall(callId, callDisplayName, emptyMap())), level = DeprecationLevel.WARNING) Unit onRingingCall(StreamCallId callId, String callDisplayName)
Customize the notification when you receive a push notification for ringing call, which has further two types RingingState.Incoming and RingingState.Outgoing
- Parameters:
callId- An instance of StreamCallId representing the call identifiercallDisplayName- The name of the caller to display in the notification
-
onMissedCall
@Deprecated(message = Use the one with payload: Map<String, Any?>, replaceWith = @ReplaceWith(imports = {}, expression = onMissedCall(callId, callDisplayName, emptyMap())), level = DeprecationLevel.WARNING) Unit onMissedCall(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
-
onNotification
@Deprecated(message = Use the one with payload: Map<String, Any?>, replaceWith = @ReplaceWith(imports = {}, expression = onNotification(callId, callDisplayName, emptyMap())), level = DeprecationLevel.WARNING) Unit onNotification(StreamCallId callId, String callDisplayName)
Customize the notification when you receive a push notification for general usage
- Parameters:
callId- An instance of StreamCallId representing the call identifiercallDisplayName- The name of the caller to display in the notification
-
onLiveCall
@Deprecated(message = Use the one with payload: Map<String, Any?>, replaceWith = @ReplaceWith(imports = {}, expression = onLiveCall(callId, callDisplayName, emptyMap())), level = DeprecationLevel.WARNING) Unit onLiveCall(StreamCallId callId, String callDisplayName)
Customize the notification when you receive a push notification for Live Call
- Parameters:
callId- An instance of StreamCallId representing the call identifiercallDisplayName- The name of the caller to display in the notification
-
-
-
-