Truy cập vào bảng điều khiển

WebpushNotification.Action

public static class WebpushNotification.Action extends Object

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

Public Constructor Summary

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

Inherited Method Summary

Public Constructors

public Action (String action, String title)

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

Parameters
action Action string.
title Title text.

public 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.