Konsola git

FcmOptions

public final class FcmOptions extends Object

Represents the platform-independent FCM options that can be included in a Message. Instances of this class are thread-safe and immutable.

Nested Class Summary

class FcmOptions.Builder  

Public Method Summary

static FcmOptions.Builder
builder()
Creates a new FcmOptions.Builder.
static FcmOptions
withAnalyticsLabel(String analyticsLabel)
Creates a new FcmOptions object with the specified analytics label.

Inherited Method Summary

Public Methods

public static FcmOptions.Builder builder ()

Creates a new FcmOptions.Builder.

Returns

public static FcmOptions withAnalyticsLabel (String analyticsLabel)

Creates a new FcmOptions object with the specified analytics label.

Parameters
analyticsLabel An analytics label
Returns
  • An FcmOptions object with the analytics label set to the supplied value.