cartel v0.2.3 Cartel.Pusher.Gcm
Google GCM interface worker
Summary
Functions
Sends the message via the specified worker process
Sends a push notification
Bulk sends the same push notification to multiple recipients
Functions
Specs
push(pid, Cartel.Message.Gcm.t) :: :ok | :error
Sends the message via the specified worker process
Sends a push notification
appid
: target application identifier present inconfig.exs
message
: message struct
Specs
send_bulk(String.t, [String.t], Cartel.Message.Gcm.t) :: [{:ok | :error}]
Bulk sends the same push notification to multiple recipients
appid
: target application identifier present inconfig.exs
tokens
: device tokensmessage
: message struct