google_api_fcm v0.4.0 GoogleApi.FCM.V1.Model.ApnsConfig View Source

Apple Push Notification Service specific options.

Attributes

  • fcmOptions (type: GoogleApi.FCM.V1.Model.ApnsFcmOptions.t, default: nil) - Options for features provided by the FCM SDK for iOS.
  • headers (type: map(), default: nil) - HTTP request headers defined in Apple Push Notification Service. Refer to APNs request headers for supported headers, e.g. "apns-priority": "10".
  • payload (type: map(), default: nil) - APNs payload as a JSON object, including both aps dictionary and custom payload. See Payload Key Reference. If present, it overrides google.firebase.fcm.v1.Notification.title and google.firebase.fcm.v1.Notification.body.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.FCM.V1.Model.ApnsConfig{
  fcmOptions: GoogleApi.FCM.V1.Model.ApnsFcmOptions.t(),
  headers: map(),
  payload: map()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.