Class WebNotificationAction

Object
org.mozilla.geckoview.WebNotificationAction
All Implemented Interfaces:
Parcelable

public class WebNotificationAction extends Object implements 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.
  • Field Details

  • Constructor Details

    • WebNotificationAction

      public WebNotificationAction(@NonNull String name, @NonNull String title)
      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