ApnsFcmOptions

public final class ApnsFcmOptions extends Object

Represents the APNS-specific FCM options that can be included in an ApnsConfig. Instances of this class are thread-safe and immutable.

Nested Class Summary

class ApnsFcmOptions.Builder  

Public Method Summary

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

Inherited Method Summary

Public Methods

public static ApnsFcmOptions.Builder builder ()

Creates a new ApnsFcmOptions.Builder.

Returns

public static ApnsFcmOptions withAnalyticsLabel (String analyticsLabel)

Creates a new ApnsFcmOptions object with the specified analytics label.

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