pushex v0.2.3 Pushex.GCM.Request View Source

Pushex.GCM.Request represents a request that will be sent to GCM. It contains the notification, and all the metadata that can be sent with it.

Only the key with a value will be sent to GCM, so that the proper default are used.

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Pushex.GCM.Request{
  app: Pushex.GCM.App.t(),
  collapse_key: String.t(),
  content_available: boolean(),
  data: map(),
  delay_while_idle: boolean(),
  notification: map(),
  priority: String.t(),
  registration_ids: [String.t()],
  restricted_package_name: String.t(),
  time_to_live: non_neg_integer(),
  to: String.t()
}

Link to this section Functions