FcmOptions interface
Stay organized with collections
Save and categorize content based on your preferences.
Options for features provided by the FCM SDK for Web. See WebpushFcmOptions.
Signature:
export interface FcmOptions
Properties
Property |
Type |
Description |
analyticsLabel |
string |
The label associated with the message's analytics data. |
link |
string |
The link to open when the user clicks on the notification. |
FcmOptions.analyticsLabel
The label associated with the message's analytics data.
Signature:
analyticsLabel?: string;
FcmOptions.link
The link to open when the user clicks on the notification.
Signature:
link?: string;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-07-20 UTC.
[null,null,["Last updated 2023-07-20 UTC."],[],[],null,["Options for features provided by the FCM SDK for Web. See [WebpushFcmOptions](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#webpushfcmoptions).\n\n**Signature:** \n\n export interface FcmOptions \n\nProperties\n\nFcmOptions.analyticsLabel\n\nThe label associated with the message's analytics data.\n\n**Signature:** \n\n analyticsLabel?: string;\n\nFcmOptions.link\n\nThe link to open when the user clicks on the notification.\n\n**Signature:** \n\n link?: string;"]]