Class DefaultNotificationHandler
-
- All Implemented Interfaces:
-
io.getstream.android.push.permissions.NotificationPermissionHandler,io.getstream.video.android.core.notifications.NotificationHandler
public class DefaultNotificationHandler implements NotificationHandler, NotificationPermissionHandler
-
-
Constructor Summary
Constructors Constructor Description DefaultNotificationHandler(Application application, NotificationPermissionHandler notificationPermissionHandler)
-
Method Summary
Modifier and Type Method Description UnitonRingingCall(StreamCallId callId, String callDisplayName)NotificationgetRingingCallNotification(StreamCallId callId, String callDisplayName)UnitonNotification(StreamCallId callId, String callDisplayName)UnitonLiveCall(StreamCallId callId, String callDisplayName)NotificationgetOngoingCallNotification(StreamCallId callId)StringgetChannelId()StringgetChannelName()StringgetChannelDescription()-
Methods inherited from class io.getstream.android.push.permissions.NotificationPermissionHandler
onPermissionDenied, onPermissionGranted, onPermissionRationale, onPermissionRequested -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DefaultNotificationHandler
DefaultNotificationHandler(Application application, NotificationPermissionHandler notificationPermissionHandler)
-
-
Method Detail
-
onRingingCall
Unit onRingingCall(StreamCallId callId, String callDisplayName)
-
getRingingCallNotification
Notification getRingingCallNotification(StreamCallId callId, String callDisplayName)
-
onNotification
Unit onNotification(StreamCallId callId, String callDisplayName)
-
onLiveCall
Unit onLiveCall(StreamCallId callId, String callDisplayName)
-
getOngoingCallNotification
Notification getOngoingCallNotification(StreamCallId callId)
-
getChannelId
String getChannelId()
-
getChannelName
String getChannelName()
-
getChannelDescription
String getChannelDescription()
-
-
-
-