I'm using NotificationListenerService
to listen for notifications.
When I receive a notification, I extract the title 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 when I receive a notification with BigTextStyle.
How do I retrieve its value?
Thanks.