Permalink
Browse files

update api

  • Loading branch information...
dotcypress committed Jul 22, 2014
1 parent bdfca1d commit b258ee936d3221cc136cfb1b796f2cd0cb3236ba
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
View
@@ -155,10 +155,17 @@ public class YourActivity extends Activity {
// Process event and display notification if needed
GoSaveManager.processEvent("EVENT_ID");
+ // Process event with game score
+ GoSaveManager.processEvent("EVENT_ID", 90);
+
// Process event discretely - without displaying a notification
// if you don't want to disturb users
GoSaveManager.processEvent("EVENT_ID", true);
+ // Process event discretely with game score
+ // if you don't want to disturb users
+ GoSaveManager.processEvent("EVENT_ID", 100, true);
+
// Display notifications for all previous discretely processed events
// Normally, you would use this after the game process has ended
GoSaveManager.commitSilentEvents();

0 comments on commit b258ee9

Please sign in to comment.