-
public interface StreamNotificationHandlerWithPayload
-
-
Method Summary
Modifier and Type Method Description abstract UnitonRingingCall(StreamCallId callId, String callDisplayName, Map<String, Object> payload)Customize the notification when you receive a push notification for ringing call, which has further two types RingingState.Incoming and RingingState.Outgoing abstract UnitonMissedCall(StreamCallId callId, String callDisplayName, Map<String, Object> payload)Customize the notification when you receive a push notification for Missed Call abstract UnitonNotification(StreamCallId callId, String callDisplayName, Map<String, Object> payload)Customize the notification when you receive a push notification for general usage abstract UnitonLiveCall(StreamCallId callId, String callDisplayName, Map<String, Object> payload)Customize the notification when you receive a push notification for Live Call -
-
Method Detail
-
onRingingCall
abstract Unit onRingingCall(StreamCallId callId, String callDisplayName, Map<String, Object> payload)
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
abstract Unit onMissedCall(StreamCallId callId, String callDisplayName, Map<String, Object> payload)
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
abstract Unit onNotification(StreamCallId callId, String callDisplayName, Map<String, Object> payload)
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
abstract Unit onLiveCall(StreamCallId callId, String callDisplayName, Map<String, Object> payload)
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
-
-
-
-