# NotificationConfig

public class NotificationConfig

## Constructors

NotificationConfig
Link copied to clipboard
public void NotificationConfig()

## Types

ForegroundOtherPageAction
Link copied to clipboard
public enum ForegroundOtherPageAction
在前台非会话页面，接受到消息时的行为
Interceptor
Link copied to clipboard
public interface Interceptor
TitleType
Link copied to clipboard
public enum TitleType
通知标题的类型

## Properties

categoryNotification
Link copied to clipboard
public String categoryNotification

## Functions

getCategoryNotification
Link copied to clipboard
public String getCategoryNotification()
getForegroundOtherPageAction
Link copied to clipboard
public NotificationConfig.ForegroundOtherPageAction getForegroundOtherPageAction()
getInterceptor
Link copied to clipboard
public NotificationConfig.Interceptor getInterceptor()
getNotificationChannel
Link copied to clipboard
public NotificationChannel getNotificationChannel()
getTitleType
Link copied to clipboard
public NotificationConfig.TitleType getTitleType()
setCategoryNotification
Link copied to clipboard
public void setCategoryNotification(String categoryNotification)
设置本地通知 category 初始化之后设置
setForegroundOtherPageAction
Link copied to clipboard
public void setForegroundOtherPageAction(NotificationConfig.ForegroundOtherPageAction action)
setInterceptor
Link copied to clipboard
public void setInterceptor(DefaultInterceptor interceptor)
@Deprecated()
public void setInterceptor(NotificationConfig.Interceptor interceptor)
本地通知拦截器
setNotificationChannel
Link copied to clipboard
public void setNotificationChannel(NotificationChannel channel)
setTitleType
Link copied to clipboard
public void setTitleType(NotificationConfig.TitleType type)