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

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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