| java.lang.Object | |
| ↳ | com.google.firebase.messaging.FcmOptions |
Represents the platform-independent FCM options that can be included in a Message.
Instances of this class are thread-safe and immutable.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| class | FcmOptions.Builder | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static FcmOptions.Builder |
builder()
Creates a new
FcmOptions.Builder. | ||||||||||
| static FcmOptions |
withAnalyticsLabel(String analyticsLabel)
Creates a new
FcmOptions object with the specified analytics label. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new FcmOptions.Builder.
FcmOptions.Builder instance.
Creates a new FcmOptions object with the specified analytics label.
| analyticsLabel | An analytics label |
|---|
FcmOptions object with the analytics label set to the supplied value.