public class TuneUserProfile extends Object
Constructor and Description |
---|
TuneUserProfile(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
clearAllCustomProfileVariables() |
void |
clearCertainCustomProfileVariable(String key) |
void |
deleteSharedPrefs() |
String |
getAppId() |
List<TuneAnalyticsVariable> |
getCopyOfVars() |
TuneAnalyticsVariable |
getCustomProfileVariable(String name) |
String |
getDeviceId() |
TuneAnalyticsVariable |
getProfileVariable(String key) |
TuneAnalyticsVariable |
getProfileVariableFromPrefs(String key) |
String |
getProfileVariableValue(String key) |
String |
getSessionId() |
Set<TuneAnalyticsVariable> |
getSessionVariables() |
void |
onEvent(TuneAppForegrounded event) |
void |
onEvent(TuneSessionVariableToSet event) |
void |
onEvent(TuneUpdateUserProfile event) |
void |
registerCustomProfileVariable(TuneAnalyticsVariable var) |
void |
setCustomProfileVariable(TuneAnalyticsVariable var) |
JSONArray |
toJson() |
public TuneUserProfile(Context context)
public String getAppId()
public String getDeviceId()
public String getSessionId()
public Set<TuneAnalyticsVariable> getSessionVariables()
public void deleteSharedPrefs()
public void onEvent(TuneAppForegrounded event)
public void onEvent(TuneUpdateUserProfile event)
public void onEvent(TuneSessionVariableToSet event)
public TuneAnalyticsVariable getProfileVariable(String key)
public TuneAnalyticsVariable getProfileVariableFromPrefs(String key)
public JSONArray toJson()
public List<TuneAnalyticsVariable> getCopyOfVars()
public void registerCustomProfileVariable(TuneAnalyticsVariable var)
public void setCustomProfileVariable(TuneAnalyticsVariable var)
public TuneAnalyticsVariable getCustomProfileVariable(String name)
public void clearCertainCustomProfileVariable(String key)
public void clearAllCustomProfileVariables()