Package 

Interface StreamNotificationHandler

    • Method Summary

      Modifier and Type Method Description
      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
      Unit onMissedCall(StreamCallId callId, String callDisplayName) Customize the notification when you receive a push notification for Missed Call
      Unit onNotification(StreamCallId callId, String callDisplayName) Customize the notification when you receive a push notification for general usage
      Unit onLiveCall(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

      • 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 identifier
        callDisplayName - 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 identifier
        callDisplayName - 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 identifier
        callDisplayName - The name of the caller to display in the notification