NotificationConfig

public class NotificationConfig

Notification Configuration

Author

shaunak

Since

2023-09-11

Types

Link copied to clipboard
In the foreground non-chat UI, behavior when receiving a message
Link copied to clipboard
public enum TitleType
Type of notification title

Functions

Link copied to clipboard
public String getCategoryNotification()
Link copied to clipboard
public NotificationChannel getNotificationChannel()
Link copied to clipboard
public NotificationInterceptor getNotificationInterceptor()
Link copied to clipboard
Link copied to clipboard
public boolean isSoundInForeground()
Link copied to clipboard
public boolean isVibrateInForeground()
Link copied to clipboard
public void setCategoryNotification(String categoryNotification)
Set the local notification category after initialization
Link copied to clipboard
public void setNotificationChannel(NotificationChannel channel)
Link copied to clipboard
public void setNotificationInterceptor(NotificationInterceptor interceptor)
Local Notification Interceptor
Link copied to clipboard
public void setSoundInForeground(boolean soundInForeground)
Set whether to play a ringtone
Link copied to clipboard
Link copied to clipboard
public void setVibrateInForeground(boolean vibrateInForeground)
Sets whether to vibrate