public class Settings extends java.lang.Object
Constructor and Description |
---|
Settings(PrivacySettings defaultPrivacySettingsNewUser,
java.lang.String clientKey,
boolean secureTransmit,
java.lang.String customHostName,
int batchAutoTransmitTimeout,
int samplingRate) |
Modifier and Type | Method and Description |
---|---|
int |
getBatchAutoTransmitTimeout() |
java.lang.String |
getClientKey() |
java.lang.String |
getCustomHostName() |
PrivacySettings |
getDefaultPrivacySettingsNewUser() |
int |
getSamplingRate() |
boolean |
isSecureTransmit() |
public Settings(PrivacySettings defaultPrivacySettingsNewUser, java.lang.String clientKey, boolean secureTransmit, java.lang.String customHostName, int batchAutoTransmitTimeout, int samplingRate)
defaultPrivacySettingsNewUser
- the privacy settings the new session will start withclientKey
- the account identification id. This id is given you by econda support.secureTransmit
- use https onlycustomHostName
- use this customized hostname as hostname, otherwise nullbatchAutoTransmitTimeout
- Submission should be tried to collected and submitted later perhaps together with other data.samplingRate
- A samplingRate can be used, to collect only data of a random part of userspublic PrivacySettings getDefaultPrivacySettingsNewUser()
public java.lang.String getClientKey()
public boolean isSecureTransmit()
public java.lang.String getCustomHostName()
public int getBatchAutoTransmitTimeout()
public int getSamplingRate()