ApnsFcmOptions.Builder

public static class ApnsFcmOptions.Builder extends Object

Public Method Summary

ApnsFcmOptions
build()
Creates a new ApnsFcmOptions instance from the parameters set on this builder.
ApnsFcmOptions.Builder
setAnalyticsLabel(String analyticsLabel)
ApnsFcmOptions.Builder
setImage(String imageUrl)

Inherited Method Summary

Public Methods

public ApnsFcmOptions build ()

Creates a new ApnsFcmOptions instance from the parameters set on this builder.

Returns
Throws
IllegalArgumentException If any of the parameters set on the builder are invalid.

public ApnsFcmOptions.Builder setAnalyticsLabel (String analyticsLabel)

Parameters
analyticsLabel A string representing the analytics label used for APNS messages.
Returns
  • This builder

public ApnsFcmOptions.Builder setImage (String imageUrl)

Parameters
imageUrl URL of the image that is going to be displayed in the notification.
Returns
  • This builder