xref: /expo/packages/expo-notifications/src/setNotificationChannelGroupAsync.android.ts (revision 42e04d24)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import { UnavailabilityError } from '@unimodules/core';
2
3import NotificationChannelGroupManager, {
4  NotificationChannelGroup,
5  NotificationChannelGroupInput,
6} from './NotificationChannelGroupManager';
7
8export default async function setNotificationChannelGroupAsync(
9  groupId: string,
10  group: NotificationChannelGroupInput
11): Promise<NotificationChannelGroup | null> {
12  if (!NotificationChannelGroupManager.setNotificationChannelGroupAsync) {
13    throw new UnavailabilityError('Notifications', 'setNotificationChannelGroupAsync');
14  }
15
16  return await NotificationChannelGroupManager.setNotificationChannelGroupAsync(groupId, group);
17}
18

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026