Module: FirefoxWeb

FirefoxWeb object that specifies the settings specific to the FirefoxWeb platform.

Methods

build()

Builds FirefoxWeb values.

iconUrl(iconUrl)

Parameters:
Name Type Description
iconUrl string

The URL of the icon to be set for the WebPush Notification.

Returns:

The Builder object for calls to be linked.

payload(payload)

Parameters:
Name Type Description
payload Object

Custom JSON payload that will be sent as part of the notification message.

Returns:

The Builder object for calls to be linked.

timeToLive(timeToLive)

Parameters:
Name Type Description
timeToLive number

This parameter specifies the duration (in seconds) for which the message should be kept in FCM, if the device is offline.

Returns:

The Builder object for calls to be linked.

title(title)

Parameters:
Name Type Description
title string

Specifies the title to be set for the WebPush Notification.

Returns:

The Builder object for calls to be linked.