onRegisterChannel

public NotificationChannel onRegisterChannel(NotificationChannel defaultChannel)

Callback before registering the default channel. This method can be used to intercept and modify the configuration in the default channel, and return the modified channel.

Return

The modified notification channel.

Parameters

defaultChannel

The default notification channel