-
public class TrackAllEvents
-
-
Method Summary
Modifier and Type Method Description static StringgetScreenName()static voidlogAppEvent(String state)This is for activityAdding the screen change event in the queue when any screen changeeg MainActivity change to another activity static voidlogScreenEvent(Activity activity, String state)This is for activityAdding the screen change event in the queue when any screen changeeg MainActivity change to another activity static voidlogScreenEvent(Fragment fragment, String state)This is for fragmentAdding the screen change event in the queue when any screen changeeg BlankFragment change to another fragment static voidlogScreenEvent(String state)This is for application closedAdding the screen change event in the queue when any screen changeeg MainActivity change to another activity static voidlogClickEvent(MotionEvent event, Context context)Adding the click event in the queue when user click on the screen static booleangetClickStatus()-
-
Method Detail
-
getScreenName
static String getScreenName()
-
logAppEvent
static void logAppEvent(String state)
This is for activityAdding the screen change event in the queue when any screen changeeg MainActivity change to another activity
- Parameters:
state- as para
-
logScreenEvent
static void logScreenEvent(Activity activity, String state)
This is for activityAdding the screen change event in the queue when any screen changeeg MainActivity change to another activity
- Parameters:
activity- as parastate- as para
-
logScreenEvent
static void logScreenEvent(Fragment fragment, String state)
This is for fragmentAdding the screen change event in the queue when any screen changeeg BlankFragment change to another fragment
- Parameters:
fragment- as parastate- as para
-
logScreenEvent
static void logScreenEvent(String state)
This is for application closedAdding the screen change event in the queue when any screen changeeg MainActivity change to another activity
- Parameters:
state- as para
-
logClickEvent
static void logClickEvent(MotionEvent event, Context context)
Adding the click event in the queue when user click on the screen
- Parameters:
event- as paracontext- as para
-
getClickStatus
static boolean getClickStatus()
-
-
-
-