setInterceptor

public void setInterceptor(DefaultInterceptor interceptor)

Local notification interceptor

Parameters

interceptor

the default abstract implementation; subclass DefaultInterceptor and override methods to customize interception


@Deprecated()
public void setInterceptor(NotificationConfig.Interceptor interceptor)

Deprecated

Local notification interceptor

Deprecated

Since 5.1.4. Use setInterceptor instead.

Parameters

interceptor

the notification interceptor