Settings
public class Settings : NSObject
Settings is a more comfortable way of customizing TrackingSession
-
rate of the data sampling to be used when submitting the collected informations the default value of 1 is the also minimum value and means that every single event will be included
Declaration
Swift
public var samplingRate: Int
-
this parameter defines the default behavior, which is being used as long as the user hasn’t chosen one. It is not persistent and thus has to be specified when initializing the TrackingSession object.
Declaration
Swift
public var defaultPrivacySettingsNewUser: PrivacySettings
-
this parameter stores the user’s custom choice for the used privacy mode. It is persistent and will override the default value from defaultPrivacySettingsNewUser
Declaration
Swift
public var privacySettings: PrivacySettings?
-
this parameter allows the customization of the transmit timeout, which defines the time span between automatic transmissions of all data colleted up to this point in time. a value of -1 disables this feature
Declaration
Swift
public var batchAutoTransmitTimeout: Int
-
use https only for transmissions (enabled by default)
Declaration
Swift
public var secureTransmission: Bool
-
this parameter has to contain a valid account identification id, which will be provided to you by the econda support staff.
Declaration
Swift
public var clientKey: String?
-
Undocumented
Declaration
Swift
public init(with defaultPrivacySettingsNewUser: PrivacySettings = .doNotTrack, clientKey: String? = nil, secure: Bool = true, batchAutoTransmitTimeout: Int = -1, samplingRate: Int = 1)