class Firebase::Admin::Messaging::APNSFCMOptions

Options for features provided by the FCM SDK for iOS.

Attributes

analytics_label[RW]

@return [String, nil]

The label associated with the message's analytics data.
image[RW]

@return [String, nil]

URL of an image to be displayed in the notification.

Public Class Methods

new(analytics_label: nil, image: nil) click to toggle source

Initializes an {APNSFCMOptions}.

@param [String, nil] analytics_label

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

@param [String, nil] image

URL of an image to be displayed in the notification (optional).
# File lib/firebase/admin/messaging/apns_fcm_options.rb, line 20
def initialize(analytics_label: nil, image: nil)
  self.analytics_label = analytics_label
  self.image = image
end