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.
Nested Class Summary
class | WebpushFcmOptions.Builder |
Public Method Summary
static WebpushFcmOptions.Builder |
builder()
Creates a new
WebpushFcmOptions.Builder . |
static WebpushFcmOptions |
withLink(String link)
Creates a new
WebpushFcmOptions using given link. |
Inherited Method Summary
Public Methods
public static WebpushFcmOptions.Builder builder ()
Creates a new WebpushFcmOptions.Builder
.
Returns
- An
WebpushFcmOptions.Builder
instance.
public static WebpushFcmOptions withLink (String link)
Creates a new WebpushFcmOptions
using given link.
Parameters
link | The link to open when the user clicks on the notification. For all URL values, HTTPS is required. |
---|