ChromeAppExt object that specifies the settings specific to the ChromeAppExtension browser.
Methods
build()
Builds ChromeAppExt values.
collapseKey(collapseKey)
Parameters:
Name | Type | Description |
---|---|---|
collapseKey |
string | This parameter identifies a group of messages. |
Returns:
The Builder object for calls to be linked.
delayWhileIdle(delayWhileIdle)
Parameters:
Name | Type | Description |
---|---|---|
delayWhileIdle |
boolean | When this parameter is set to true, it indicates that the message should not be sent until the device becomes active. |
Returns:
The Builder object for calls to be linked.
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 held 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.