Package org.mozilla.geckoview
Class WebNotificationAction
Object
org.mozilla.geckoview.WebNotificationAction
- All Implemented Interfaces:
Parcelable
This class corresponds to nsIAlertAction in Gecko, which again largely corresponds to each member
of
Notification.actions. It's passed to
WebNotification
and can be retrieved from it.-
Nested Class Summary
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Parcelable.Creator<WebNotificationAction>
final String
The name of the notification action.final String
The title of the notification action.Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
ConstructorsConstructorDescriptionWebNotificationAction
(String name, String title) Constructs a WebNotificationAction with the specified name and title. -
Method Summary
-
Field Details
-
name
The name of the notification action. -
title
The title of the notification action. -
CREATOR
-
-
Constructor Details
-
WebNotificationAction
Constructs a WebNotificationAction with the specified name and title.- Parameters:
name
- The name of the notification action.title
- The title of the notification action.
-
-
Method Details
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
- Specified by:
writeToParcel
in interfaceParcelable
-