Example usage for android.service.notification StatusBarNotification toString

List of usage examples for android.service.notification StatusBarNotification toString

Introduction

In this page you can find the example usage for android.service.notification StatusBarNotification toString.

Prototype

@Override
    public String toString() 

Source Link

Usage

From source file:org.durka.hallmonitor.NotificationService.java

@Override
public void onNotificationPosted(StatusBarNotification sbn) {
    Log.d(LOG_TAG + ".oNP", "notification posted: " + sbn.toString());
    Intent mIntent = new Intent(CoreApp.DA_ACTION_NOTIFICATION_REFRESH);
    mLocalBroadcastManager.sendBroadcastSync(mIntent);
}

From source file:org.durka.hallmonitor.NotificationService.java

@Override
public void onNotificationRemoved(StatusBarNotification sbn) {
    Log.d(LOG_TAG + ".oNR", "notification removed: " + sbn.toString());
    Intent mIntent = new Intent(CoreApp.DA_ACTION_NOTIFICATION_REFRESH);
    mLocalBroadcastManager.sendBroadcastSync(mIntent);
}