xref: /expo/packages/expo-notifications/src/NotificationPresenterModule.types.ts (revision b72d2d68)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import { ProxyNativeModule } from '@unimodules/core';
2
3import { Notification, NotificationContentInput } from './Notifications.types';
4
5export interface NotificationPresenterModule extends ProxyNativeModule {
6  getPresentedNotificationsAsync?: () => Promise<Notification[]>;
7  presentNotificationAsync?: (
8    identifier: string,
9    content: NotificationContentInput
10  ) => Promise<string>;
11  dismissNotificationAsync?: (identifier: string) => Promise<void>;
12  dismissAllNotificationsAsync?: () => Promise<void>;
13}
14

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025