Back to project page playnomics-android.
The source code is released under:
Apache License
If you think the Android project playnomics-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.playnomics.android.session; /*from w w w . j ava 2 s . c o m*/ import android.app.Activity; public interface IActivityObserver { public void setStateMachine(SessionStateMachine stateMachine); /** * @param activity * Enqueues the activity and attaches a proxy object on the * callback so that the SDK can observe and track user * interaction. */ public void observeNewActivity(Activity activity, final TouchEventHandler handler); /** * Dequeues the previously observed activity. When there are no longer any * more activities to observe we assume that the application has been * paused, and can be killed or resumed at some future state. */ public void forgetLastActivity(); }