public static class

WebpushNotification.Action

extends Object
java.lang.Object
   ↳ com.google.firebase.messaging.WebpushNotification.Action

Class Overview

Represents an action available to users when the notification is presented.

Summary

Public Constructors
WebpushNotification.Action(String action, String title)
Creates a new Action with the given action string and title.
WebpushNotification.Action(String action, String title, String icon)
Creates a new Action with the given action string, title and icon URL.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WebpushNotification.Action (String action, String title)

Creates a new Action with the given action string and title.

Parameters
action Action string.
title Title text.

public WebpushNotification.Action (String action, String title, String icon)

Creates a new Action with the given action string, title and icon URL.

Parameters
action Action string.
title Title text.
icon Icon URL or null.