I use NotificationListenerServiceto listen to notifications.
When I receive a notification, I retrieve the header and message using the following code:
Bundle n = sbn.getNotification().extras;
String title = n.getString(Notification.EXTRAS_TITLE);
String message = n.getString(Notification.EXTRAS_TEXT);
The problem is getting notified using BigTextStyle.
How to get its value?
Thank.
source
share