1import { UnavailabilityError } from 'expo-modules-core'; 2import NotificationScheduler from './NotificationScheduler'; 3/** 4 * Fetches information about all scheduled notifications. 5 * @return Returns a Promise resolving to an array of objects conforming to the [`Notification`](#notification) interface. 6 * @header schedule 7 */ 8export default async function getAllScheduledNotificationsAsync() { 9 if (!NotificationScheduler.getAllScheduledNotificationsAsync) { 10 throw new UnavailabilityError('Notifications', 'getAllScheduledNotificationsAsync'); 11 } 12 return await NotificationScheduler.getAllScheduledNotificationsAsync(); 13} 14//# sourceMappingURL=getAllScheduledNotificationsAsync.js.map