Java android.service.notification StatusBarNotification fields, constructors, methods, implement or subclass

Example usage for Java android.service.notification StatusBarNotification fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.service.notification StatusBarNotification.

The text is from its open source code.

Subclass

android.service.notification.StatusBarNotification has subclasses.
Click this link to see all its subclasses.

Method

ClassgetClass()
Returns the runtime class of this Object .
StringgetGroupKey()
A key that indicates the group with which this message ranks.
intgetId()
The id supplied to android.app.NotificationManager#notify(int,Notification) .
StringgetKey()
A unique instance key for this notification record.
NotificationgetNotification()
The android.app.Notification supplied to android.app.NotificationManager#notify(int,Notification) .
StringgetPackageName()
The package of the app that posted the notification.
longgetPostTime()
The time (in System#currentTimeMillis time) the notification was posted, which may be different than android.app.Notification#when .
StringgetTag()
The tag supplied to android.app.NotificationManager#notify(int,Notification) , or null if no tag was specified.
UserHandlegetUser()
The android.os.UserHandle for whom this notification is intended.
booleanisClearable()
Convenience method to check the notification's flags for either Notification#FLAG_ONGOING_EVENT or Notification#FLAG_NO_CLEAR .
booleanisOngoing()
Convenience method to check the notification's flags for Notification#FLAG_ONGOING_EVENT .
StringtoString()