-
Notifications
You must be signed in to change notification settings - Fork 4
Boxcar
##Overview
The boxcar_driver is an actor which sends messages to boxcar To use the boxcar actor you have to install the boxcar client on your iPhone.
##Setup
To use the boxcar_driver you need an installation of the boxcar ios client. From this installation you need the access token which you can find under preferences.
##Configuration
{thing,"Boxcar", [{type,actor}, {icon,"message.png"}, {ets,false}, {driver,{boxcar_driver,handle_msg},[{data,[]}]}, {activ,true}, {timer,0}, {database,[]}, {description,"Boxcar client"}]},
If want to send a message to your boxcar client over the boxcar_driver, you need the access token.
The body of your message which you send to the boxcar driver looks like this :
[{account, Account}, {title, Title}, {message, Message}, {sound, Sound}]]
where account : The account token from your boxcar client title : The title of the message which you will send message : The message which you will send sound: A sound which will be played when the message arrives the boxcar client. sound