xref: /expo/packages/expo-notifications/src/NotificationPresenterModule.types.ts (revision cd784c72)
  • 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: Fri May 15 20:09:11 GMT 2026