Class: Firebase::Admin::Messaging::AndroidFCMOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/firebase/admin/messaging/android_fcm_options.rb

Overview

Represents options for features provided by the FCM SDK for Android.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(analytics_label: nil) ⇒ AndroidFCMOptions

Parameters:

  • analytics_label (String, nil) (defaults to: nil)

    The label associated with the message’s analytics data (optional).



13
14
15
# File 'lib/firebase/admin/messaging/android_fcm_options.rb', line 13

def initialize(analytics_label: nil)
  self.analytics_label = analytics_label
end

Instance Attribute Details

#analytics_labelString?

Returns Label associated with the message’s analytics data.

Returns:

  • (String, nil)

    Label associated with the message’s analytics data.



7
8
9
# File 'lib/firebase/admin/messaging/android_fcm_options.rb', line 7

def analytics_label
  @analytics_label
end