Created
June 5, 2012 02:03
-
-
Save mhlipson/2872023 to your computer and use it in GitHub Desktop.
Sample prepared C2DM messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$message = array( | |
'action' => 750, // IntentService Action to be called on the device. | |
'priority' => 3, // Priority of action called, this would queue the request until later | |
'input' => 3445 // Control aspect. This could be a 'message' id from the server, or the ID of the blog that was published to fire off the C2DM message. | |
); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment