createWithNotificationChannel
Creates a notification manager and a low-priority notification channel with the specified channelId
and channelName
.
Parameters
The Context.
The id of the notification channel.
A string resource identifier for the user visible name of the channel. The recommended maximum length is 40 characters; the value may be truncated if it is too long.
The id of the notification.
Creates a notification manager and a low-priority notification channel with the specified channelId
, channelName
and channelDescription
.
Parameters
The Context.
The id of the notification channel.
A string resource identifier for the user visible name of the channel. The recommended maximum length is 40 characters; the value may be truncated if it is too long.
A string resource identifier for the user visible description of the channel, or 0 if no description is provided. The recommended maximum length is 300 characters. The value may be truncated if it is too long.
The id of the notification.
Creates a notification manager and a low-priority notification channel with the specified channelId
, channelName
and channelDescription
.
Parameters
The Context.
The id of the notification channel.
A string resource identifier for the user visible name of the channel. The recommended maximum length is 40 characters; the value may be truncated if it is too long.
A string resource identifier for the user visible description of the channel, or 0 if no description is provided. The recommended maximum length is 300 characters. The value may be truncated if it is too long.
The id of the notification.
The CustomActionReceiver.