FcmOptions.Builder

public static class FcmOptions.Builder extends Object

Public Method Summary

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

Inherited Method Summary

Public Methods

public FcmOptions build ()

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

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

public FcmOptions.Builder setAnalyticsLabel (String analyticsLabel)

Parameters
analyticsLabel A string representing the analytics label used for messages where no platform-specific analytics label has been specified.
Returns
  • This builder