1/** 2 * Assigns the channel configuration to a channel of a specified name (creating it if need be). 3 * This method lets you assign given notification channel to a notification channel group. 4 * 5 * > **Note:** For some settings to be applied on all Android versions, it may be necessary to duplicate the configuration across both 6 * > a single notification and its respective notification channel. 7 * 8 * For example, for a notification to play a custom sound on Android versions **below** 8.0, 9 * the custom notification sound has to be set on the notification (through the [`NotificationContentInput`](#notificationcontentinput)), 10 * and for the custom sound to play on Android versions **above** 8.0, the relevant notification channel must have the custom sound configured 11 * (through the [`NotificationChannelInput`](#notificationchannelinput)). For more information, 12 * see [Set custom notification sounds on Android](#set-custom-notification-sounds). 13 * @param channelId The channel identifier. 14 * @param channel Object representing the channel's configuration. 15 * @return A Promise which resolving to the object (of type [`NotificationChannel`](#notificationchannel)) describing the modified channel 16 * or to `null` if the platform does not support notification channels. 17 * @platform android 18 * @header channels 19 */ 20export default async function setNotificationChannelAsync(channelId, channel) { 21 console.debug('Notification channels feature is only supported on Android.'); 22 return null; 23} 24//# sourceMappingURL=setNotificationChannelAsync.js.map