Stay organized with collections
Save and categorize content based on your preferences.
public final class
WebpushFcmOptions
extends Object
Represents options for features provided by the FCM SDK for Web.
Can be included in WebpushConfig. Instances of this class are thread-safe and immutable.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-04-28 UTC."],[],[],null,["# WebpushFcmOptions\n\npublic final class **WebpushFcmOptions** extends Object \nRepresents options for features provided by the FCM SDK for Web.\nCan be included in [WebpushConfig](/docs/reference/admin/java/reference/com/google/firebase/messaging/WebpushConfig). Instances of this class are thread-safe and immutable. \n\n### Nested Class Summary\n\n|-------|---|---|---|\n| class | [WebpushFcmOptions.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/WebpushFcmOptions.Builder) || |\n\n### Public Method Summary\n\n|----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [WebpushFcmOptions.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/WebpushFcmOptions.Builder) | [builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/WebpushFcmOptions#builder())() Creates a new [WebpushFcmOptions.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/WebpushFcmOptions.Builder). |\n| static [WebpushFcmOptions](/docs/reference/admin/java/reference/com/google/firebase/messaging/WebpushFcmOptions) | [withLink](/docs/reference/admin/java/reference/com/google/firebase/messaging/WebpushFcmOptions#withLink(java.lang.String))(String link) Creates a new `WebpushFcmOptions` using given link. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| Object | clone() |\n| boolean | equals(Object arg0) |\n| void | finalize() |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public static [WebpushFcmOptions.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/WebpushFcmOptions.Builder)\n**builder**\n()\n\nCreates a new [WebpushFcmOptions.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/WebpushFcmOptions.Builder). \n\n##### Returns\n\n- An [WebpushFcmOptions.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/WebpushFcmOptions.Builder) instance. \n\n#### public static [WebpushFcmOptions](/docs/reference/admin/java/reference/com/google/firebase/messaging/WebpushFcmOptions)\n**withLink**\n(String link)\n\nCreates a new `WebpushFcmOptions` using given link. \n\n##### Parameters\n\n| link | The link to open when the user clicks on the notification. For all URL values, HTTPS is required. |\n|------|---------------------------------------------------------------------------------------------------|"]]