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
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 FcmOptions build ()
Creates a new FcmOptions
instance from the parameters set on this builder.
Returns
- A new
FcmOptions
instance.
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