public class UploadNotificationAction extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<UploadNotificationAction> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
UploadNotificationAction(int icon,
CharSequence title,
PendingIntent intent)
Creates a new
UploadNotificationAction object. |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object o) |
static UploadNotificationAction |
from(NotificationCompat.Action action)
Creates a new object from an existing NotificationCompat.Action object.
|
int |
hashCode() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<UploadNotificationAction> CREATOR
public UploadNotificationAction(int icon,
CharSequence title,
PendingIntent intent)
UploadNotificationAction object.icon - icon to show for this actiontitle - the title of the actionintent - the PendingIntent to fire when users trigger this actionpublic static UploadNotificationAction from(NotificationCompat.Action action)
action - notification compat actionpublic int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelable