#include <analyticscollector.h>
Link against: analyticscollector.lib
class NokiaAnalyticsCollector::ApplicationParameters |
Public Member Functions | |
---|---|
ApplicationParameters(const QString &, const QString &) | |
ApplicationParameters(const ApplicationParameters &) | |
virtual | ~ApplicationParameters() |
QString | agentName() |
QString | agentVersion() |
CustomParams | customApplicationParams() |
bool | isAnonymous() |
bool | isBearerReporting() |
QString | language() |
QString | origin() |
void | setAgentName(const QString &) |
void | setAgentVersion(const QString &) |
void | setAnonymous(bool) |
void | setBearerReporting(bool) |
void | setCustomApplicationParams(const CustomParams &) |
void | setLanguage(const QString &) |
void | setOrigin(const QString &) |
void | setTrackingFrequency(uint) |
uint | trackingFrequency() |
Application parameters for analytics collector session.
This API is deprecated. Use Analytics::Session and Analytics::Application classes instead (analyticsnokia.h)
ApplicationParameters | ( | const QString & | agentName, |
const QString & | agentVersion | ||
) |
Constructs a ApplicationParameters with the given agentName and agentVersion.
~ApplicationParameters | ( | ) | [virtual] |
Destroys the ApplicationParameters object.
QString | agentName | ( | ) | const |
Name of the user agent (i.e. application) that is creating this session.
QString | agentVersion | ( | ) | const |
Version of the user agent (i.e. application) that is creating this session.
CustomParams | customApplicationParams | ( | ) | const |
Freely definable application parameters to be logged as key-value pairs, where `key : string` and value is of either text or numeric data.
bool | isAnonymous | ( | ) | const |
Select the used profile type. The anonymous profile has a separate unique id from the identified profile, and does not include the IMEI, IMSI or Nokia Account ID information. The anonymous profile should be used if for privacy reasons the information reported by the application cannot be associated to the user identity.
bool | isBearerReporting | ( | ) | const |
Select whether bearer changes are to be reported or not.
QString | language | ( | ) | const |
Application language e.g. "en-US". Formatted according to IETF BCP 47 (http://tools.ietf.org/html/bcp47). See also http://en.wikipedia.org/wiki/IETF_language_tag.
QString | origin | ( | ) | const |
Application installation origin from predefined ones or custom string from the application.
void | setAgentName | ( | const QString & | ) |
void | setAgentVersion | ( | const QString & | ) |
void | setAnonymous | ( | bool | ) |
void | setBearerReporting | ( | bool | ) |