onRegisterChannel

public abstract NotificationChannel onRegisterChannel(NotificationChannel defaultChannel)

注册默认 channel 之前的回调。可以通过此方法拦截并修改默认 channel 里的配置,将修改后的 channel 返回。

Return

修改后的通知频道。

Parameters

defaultChannel

默认通知频道