| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ChromeWeb |
build() |
ChromeWeb.Builder |
iconUrl(String iconUrl) |
ChromeWeb.Builder |
payload(org.json.JSONObject payload) |
ChromeWeb.Builder |
timeToLive(Integer timeToLive) |
ChromeWeb.Builder |
title(String title) |
public final ChromeWeb.Builder title(String title)
title - Specifies the title to be set for the WebPush
Notification.public final ChromeWeb.Builder iconUrl(String iconUrl)
iconUrl - The URL of the icon to be set for the WebPush
Notification.public final ChromeWeb.Builder timeToLive(Integer timeToLive)
timeToLive - This parameter specifies the duration (in seconds) for
which the message should be kept in FCM, if the device is
offline.public final ChromeWeb.Builder payload(org.json.JSONObject payload)
payload - Custom JSON payload that will be sent as part of the
notification message.Copyright © 2017. All rights reserved.