java.lang.Object | |
↳ | android.app.NotificationButtonAction |
A class that store the view id and related pending Intenet, this is used for notification
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | NUM_BUTTONS |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR | Parcelable.Creator that instantiates NotificationButtonAction objects |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Store the viewId and pendingIntent into particular button id
param viewId The view id in related layout
param pendingIntent The PendingIntent for this viewId
return true - success to add a button action
false - fail to add a button action
| |||||||||||
Implememnt Parcelable for IPC usage
| |||||||||||
Get mPendingIntent for particular button id
| |||||||||||
Get mViewId for particular button id
| |||||||||||
Make sure this particular button id is workable or not
| |||||||||||
Make sure that is there any button action was set or not
| |||||||||||
Implememnt Parcelable for IPC usage
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Parcelable.Creator that instantiates NotificationButtonAction objects
Store the viewId and pendingIntent into particular button id param viewId The view id in related layout param pendingIntent The PendingIntent for this viewId return true - success to add a button action false - fail to add a button action
Get mPendingIntent for particular button id
Make sure this particular button id is workable or not
Make sure that is there any button action was set or not
Implememnt Parcelable for IPC usage