You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sdks/android/methods.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ class MainActivity:Activity() {
36
36
<!--END_DOCUSAURUS_CODE_TABS-->
37
37
38
38
39
-
You can add a `NotificationReceivedListener` and a `NotificationOpenedListener` and a `SubscribedListener`
39
+
You can add a **`NotificationReceivedListener`** and a **`NotificationOpenedListener`** and a **`SubscribedListener`**
40
40
41
41
**NotificationReceivedListener:** A listener that handles the event when a notification is received. The notificationReceived method is triggered with a NotificationOpenedResult object containing the details of the received notification. It fires when notifications have been received.
42
42
@@ -246,7 +246,7 @@ class MainActivity:Activity() {
246
246
<!--END_DOCUSAURUS_CODE_TABS-->
247
247
248
248
249
-
Instead of a `NotificationReceivedListener` you could also use a `NotificationReceivedCallbackListener`. This way you can dynamically control if you want to show a notification when the app is running in foreground:
249
+
Instead of a **`NotificationReceivedListener`** you could also use a **`NotificationReceivedCallbackListener`**. This way you can dynamically control if you want to show a notification when the app is running in foreground:
0 commit comments