public class MadvertiseTracker
extends java.lang.Object
reportAction to report an action. Use getInstance()
to retreive an instance of this class.| Constructor and Description |
|---|
MadvertiseTracker() |
| Modifier and Type | Method and Description |
|---|---|
static MadvertiseTracker |
getInstance(Context context)
Retreive an instance of this class.
|
void |
reportActive()
Reports an an app actiation to madvertise.
|
void |
reportDownload(Intent intent,
java.lang.String scheme) |
void |
reportInactive()
Reports an an app inactivation to madvertise.
|
void |
reportLaunch(java.lang.String scheme)
Reports an an app launch to madvertise.
|
void |
reportStop()
Reports an an app stop to madvertise.
|
void |
setDebugMode(boolean isDebugMode)
Sets whether this instance is in debug mode or not
|
void |
startNewSession(Context context)
Start a new session for this Instance.
|
public static MadvertiseTracker getInstance(Context context)
public void startNewSession(Context context)
getInstance()
automatically.context - public void reportLaunch(java.lang.String scheme)
public void reportDownload(Intent intent,
java.lang.String scheme)
public void reportStop()
public void reportActive()
public void reportInactive()
public void setDebugMode(boolean isDebugMode)
isDebugMode -