Last active
January 4, 2016 16:49
-
-
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.
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
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