java.lang.Object | |
↳ | com.htc.notification.NotificationExtra |
NotificationExtra class for Notification objects. Allow easy and special control over status bar notifications. For a guide to creating notifications, see the Creating Status Bar Notifications document in the Dev Guide.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Use
setOnClickPendingIntent(int, PendingIntent)
instead and this allows you to set on-click action on specific item in your remote view;
Used to instantiate a NotificationButtonAction object and allow to add button action on
status bar. Note that the maximum number of notification buttons on status bar is limited
(defined as NUM_BUTTONS = 3). However, it is more correct to use setOnClickPendingIntent()
to set the on-click action for RemoteView. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This method is deprecated.
Use setOnClickPendingIntent(int, PendingIntent)
instead and this allows you to set on-click action on specific item in your remote view;
Used to instantiate a NotificationButtonAction object and allow to add button action on
status bar. Note that the maximum number of notification buttons on status bar is limited
(defined as NUM_BUTTONS = 3). However, it is more correct to use setOnClickPendingIntent()
to set the on-click action for RemoteView.
n | The notification object |
---|---|
buttonId | The button ID in the application's package of the layout to use. |
pi | The pending intent to launch for this buttonId. |