Home
last modified time | relevance | path

Searched refs:Notification (Results 1 – 25 of 216) sorted by relevance

123456789

/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/model/
H A DNotification.java11 public class Notification implements Parcelable { class
15 public Notification(NotificationRequest request) { in Notification() method in Notification
19 public Notification(NotificationRequest request, Date date) { in Notification() method in Notification
24 protected Notification(Parcel in) { in Notification() method in Notification
37 public static final Creator<Notification> CREATOR = new Creator<Notification>() {
39 public Notification createFromParcel(Parcel in) {
40 return new Notification(in);
44 public Notification[] newArray(int size) {
45 return new Notification[size];
/expo/packages/expo-notifications/build/
H A DNotificationsHandler.d.ts2 import { Notification, NotificationBehavior } from './Notifications.types';
8 notification: Notification;
11 constructor(notificationId: string, notification: Notification);
20 handleNotification: (notification: Notification) => Promise<NotificationBehavior>;
H A DNotificationPermissionsModule.js31 const { Notification = {} } = window;
32 if (typeof Notification.requestPermission !== 'undefined') {
33 let status = Notification.permission;
44 Notification.requestPermission(resolveOnce)?.then(resolveOnce)?.catch(reject);
H A DgetPresentedNotificationsAsync.d.ts1 import { Notification } from './Notifications.types';
8 export default function getPresentedNotificationsAsync(): Promise<Notification[]>;
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/enums/
H A DNotificationVisibility.java3 import android.app.Notification;
6 PUBLIC(Notification.VISIBILITY_PUBLIC, 1),
7 PRIVATE(Notification.VISIBILITY_PRIVATE, 2),
8 SECRET(Notification.VISIBILITY_SECRET, 3),
9 UNKNOWN(Notification.VISIBILITY_PUBLIC, 0);
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/interfaces/
H A DNotificationPresentationEffect.java3 import android.app.Notification;
8 boolean onNotificationPresented(@Nullable String tag, int id, Notification notification); in onNotificationPresented()
10 boolean onNotificationPresentationFailed(@Nullable String tag, int id, Notification notification); in onNotificationPresentationFailed()
H A DNotificationBuilder.java3 import expo.modules.notifications.notifications.model.Notification;
18 NotificationBuilder setNotification(Notification notification); in setNotification()
34 android.app.Notification build(); in build()
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/
H A DExpoPresentationDelegate.kt15 import expo.modules.notifications.notifications.model.Notification in <lambda>()
87 override fun presentNotification(notification: Notification, behavior: NotificationBehavior?) { in <lambda>()
115 override fun getAllPresentedNotifications(): Collection<Notification> { in <lambda>()
136 … createNotification(notification: Notification, notificationBehavior: NotificationBehavior?): andr… in <lambda>()
142 protected open fun getNotification(statusBarNotification: StatusBarNotification): Notification? { in <lambda>()
152 return Notification(request, notificationDate) in <lambda>()
167 .setTitle(notification.extras.getString(android.app.Notification.EXTRA_TITLE)) in <lambda>()
168 .setText(notification.extras.getString(android.app.Notification.EXTRA_TEXT)) in <lambda>()
173 .setAutoDismiss(notification.flags and android.app.Notification.FLAG_AUTO_CANCEL != 0) in <lambda>()
174 .setSticky(notification.flags and android.app.Notification.FLAG_ONGOING_EVENT != 0) in <lambda>()
[all …]
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/service/delegates/
H A DExpoPresentationDelegate.kt16 import expo.modules.notifications.notifications.model.Notification in <lambda>()
88 override fun presentNotification(notification: Notification, behavior: NotificationBehavior?) { in <lambda>()
116 override fun getAllPresentedNotifications(): Collection<Notification> { in <lambda>()
142 … createNotification(notification: Notification, notificationBehavior: NotificationBehavior?): andr… in <lambda>()
148 protected open fun getNotification(statusBarNotification: StatusBarNotification): Notification? { in <lambda>()
158 return Notification(request, notificationDate) in <lambda>()
173 .setTitle(notification.extras.getString(android.app.Notification.EXTRA_TITLE)) in <lambda>()
174 .setText(notification.extras.getString(android.app.Notification.EXTRA_TEXT)) in <lambda>()
179 .setAutoDismiss(notification.flags and android.app.Notification.FLAG_AUTO_CANCEL != 0) in <lambda>()
180 .setSticky(notification.flags and android.app.Notification.FLAG_ONGOING_EVENT != 0) in <lambda>()
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/service/delegates/
H A DExpoPresentationDelegate.kt16 import expo.modules.notifications.notifications.model.Notification in <lambda>()
88 override fun presentNotification(notification: Notification, behavior: NotificationBehavior?) { in <lambda>()
116 override fun getAllPresentedNotifications(): Collection<Notification> { in <lambda>()
142 … createNotification(notification: Notification, notificationBehavior: NotificationBehavior?): andr… in <lambda>()
148 protected open fun getNotification(statusBarNotification: StatusBarNotification): Notification? { in <lambda>()
158 return Notification(request, notificationDate) in <lambda>()
173 .setTitle(notification.extras.getString(android.app.Notification.EXTRA_TITLE)) in <lambda>()
174 .setText(notification.extras.getString(android.app.Notification.EXTRA_TEXT)) in <lambda>()
179 .setAutoDismiss(notification.flags and android.app.Notification.FLAG_AUTO_CANCEL != 0) in <lambda>()
180 .setSticky(notification.flags and android.app.Notification.FLAG_ONGOING_EVENT != 0) in <lambda>()
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/service/delegates/
H A DExpoPresentationDelegate.kt16 import expo.modules.notifications.notifications.model.Notification in <lambda>()
88 override fun presentNotification(notification: Notification, behavior: NotificationBehavior?) { in <lambda>()
116 override fun getAllPresentedNotifications(): Collection<Notification> { in <lambda>()
142 … createNotification(notification: Notification, notificationBehavior: NotificationBehavior?): andr… in <lambda>()
148 protected open fun getNotification(statusBarNotification: StatusBarNotification): Notification? { in <lambda>()
158 return Notification(request, notificationDate) in <lambda>()
173 .setTitle(notification.extras.getString(android.app.Notification.EXTRA_TITLE)) in <lambda>()
174 .setText(notification.extras.getString(android.app.Notification.EXTRA_TEXT)) in <lambda>()
179 .setAutoDismiss(notification.flags and android.app.Notification.FLAG_AUTO_CANCEL != 0) in <lambda>()
180 .setSticky(notification.flags and android.app.Notification.FLAG_ONGOING_EVENT != 0) in <lambda>()
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/notifications/interfaces/
H A DNotificationPresentationEffect.java3 import android.app.Notification;
8 boolean onNotificationPresented(@Nullable String tag, int id, Notification notification); in onNotificationPresented()
10 boolean onNotificationPresentationFailed(@Nullable String tag, int id, Notification notification); in onNotificationPresentationFailed()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/notifications/interfaces/
H A DNotificationPresentationEffect.java3 import android.app.Notification;
8 boolean onNotificationPresented(@Nullable String tag, int id, Notification notification); in onNotificationPresented()
10 boolean onNotificationPresentationFailed(@Nullable String tag, int id, Notification notification); in onNotificationPresentationFailed()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/notifications/interfaces/
H A DNotificationPresentationEffect.java3 import android.app.Notification;
8 boolean onNotificationPresented(@Nullable String tag, int id, Notification notification); in onNotificationPresented()
10 boolean onNotificationPresentationFailed(@Nullable String tag, int id, Notification notification); in onNotificationPresentationFailed()
/expo/packages/expo-notifications/src/
H A DNotificationsHandler.ts3 import { Notification, NotificationBehavior } from './Notifications.types';
10 info: { notification: Notification; id: string };
11 constructor(notificationId: string, notification: Notification) {
26 handleNotification: (notification: Notification) => Promise<NotificationBehavior>;
42 notification: Notification;
H A DNotificationPermissionsModule.ts46 const { Notification = {} } = window as any; constant
47 if (typeof Notification.requestPermission !== 'undefined') {
48 let status = Notification.permission;
59 Notification.requestPermission(resolveOnce)?.then(resolveOnce)?.catch(reject);
H A DNotificationsEmitter.ts3 import { Notification, NotificationResponse } from './Notifications.types';
41 listener: (event: Notification) => void
43 return emitter.addListener<Notification>(didReceiveNotificationEventName, listener);
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/service/interfaces/
H A DPresentationDelegate.kt3 import expo.modules.notifications.notifications.model.Notification
7 fun presentNotification(notification: Notification, behavior: NotificationBehavior?)
8 fun getAllPresentedNotifications(): Collection<Notification>
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/service/interfaces/
H A DPresentationDelegate.kt3 import expo.modules.notifications.notifications.model.Notification
7 fun presentNotification(notification: Notification, behavior: NotificationBehavior?)
8 fun getAllPresentedNotifications(): Collection<Notification>
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/service/interfaces/
H A DPresentationDelegate.kt3 import expo.modules.notifications.notifications.model.Notification
7 fun presentNotification(notification: Notification, behavior: NotificationBehavior?)
8 fun getAllPresentedNotifications(): Collection<Notification>
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/service/interfaces/
H A DPresentationDelegate.kt3 import expo.modules.notifications.notifications.model.Notification
7 fun presentNotification(notification: Notification, behavior: NotificationBehavior?)
8 fun getAllPresentedNotifications(): Collection<Notification>
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/presentation/builders/
H A DBaseNotificationBuilder.java6 import expo.modules.notifications.notifications.model.Notification;
15 private Notification mNotification;
24 public NotificationBuilder setNotification(Notification notification) { in setNotification()
39 protected Notification getNotification() { in getNotification()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/notifications/presentation/builders/
H A DBaseNotificationBuilder.java6 import expo.modules.notifications.notifications.model.Notification;
15 private Notification mNotification;
24 public NotificationBuilder setNotification(Notification notification) { in setNotification()
39 protected Notification getNotification() { in getNotification()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/notifications/presentation/builders/
H A DBaseNotificationBuilder.java6 import expo.modules.notifications.notifications.model.Notification;
15 private Notification mNotification;
24 public NotificationBuilder setNotification(Notification notification) { in setNotification()
39 protected Notification getNotification() { in getNotification()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/notifications/presentation/builders/
H A DBaseNotificationBuilder.java6 import expo.modules.notifications.notifications.model.Notification;
15 private Notification mNotification;
24 public NotificationBuilder setNotification(Notification notification) { in setNotification()
39 protected Notification getNotification() { in getNotification()

123456789