Example usage for Java android.service.notification StatusBarNotification fields, constructors, methods, implement or subclass
The text is from its open source code.
Class> | getClass() Returns the runtime class of this Object . |
String | getGroupKey() A key that indicates the group with which this message ranks. |
int | getId() The id supplied to android.app.NotificationManager#notify(int,Notification) . |
String | getKey() A unique instance key for this notification record. |
Notification | getNotification() The android.app.Notification supplied to android.app.NotificationManager#notify(int,Notification) . |
String | getPackageName() The package of the app that posted the notification. |
long | getPostTime() The time (in System#currentTimeMillis time) the notification was posted, which may be different than android.app.Notification#when . |
String | getTag() The tag supplied to android.app.NotificationManager#notify(int,Notification) , or null if no tag was specified. |
UserHandle | getUser() The android.os.UserHandle for whom this notification is intended. |
boolean | isClearable() Convenience method to check the notification's flags for either Notification#FLAG_ONGOING_EVENT or Notification#FLAG_NO_CLEAR . |
boolean | isOngoing() Convenience method to check the notification's flags for Notification#FLAG_ONGOING_EVENT . |
String | toString() |