Skip to content

Instantly share code, notes, and snippets.

@ndurell
Last active January 4, 2016 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ndurell/8649511 to your computer and use it in GitHub Desktop.
Save ndurell/8649511 to your computer and use it in GitHub Desktop.
This gist demonstrates how to log an action using the SessionM SDK. Actions trigger achievements which allow to you reward your users for performing actions in your app. Go to http://developer.sessionm.com for more info.
package com.sessionm.example;
import com.sessionm.api.SessionM;
public class MyClass {
public void myAwesomeMethod() {
SessionM.getInstance().logAction("demo_action");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment