Enumerations
The following enumerations are available globally.
-
OfflineModeKey
- always: Hits are always stored
- never: Hits are never stored
- required: Hits are stored if no connection available
Declaration
Swift
public enum OfflineModeKey : String
-
Declaration
Swift
public enum PluginKey : String
-
Identifier Types
- uuid: The tracker will generate an uuid
- idfv: The tracker will use the identifier for vendor
Declaration
Swift
public enum IdentifierTypeKey : String
-
UUID expiration Types
- fixed: The expiration date keep its value until expiration
- relative: The expiration date renewed every time
Declaration
Swift
public enum UUIDExpirationModeKey : String
-
Declaration
Swift
public enum ProxyTypeKey : String
-
States
- active: hits are send only when the application is active
- activeOrInactive: hits are send when the application is active or inactive
- all: hits are send when the application is in every state
Declaration
Swift
public enum SendApplicationState : String
-
Declaration
Swift
public enum Type : Int
-
To mark both String and Int can be used in subscript.
See moreDeclaration
Swift
public enum JSONKey
-
Declaration
Swift
@objc public enum HitStatus : Int
-
Standard parameters added in the Hit querystring
- screen: screen
- level2: level2
- json: json
- userID: userID
- hitType: hitType
- action: action
- touch: touch
- touchScreen: touchScreen
- touchLevel2: touchLevel2
- visitorIdentifierNumeric: visitorIdentifierNumeric
- visitorIdentifierText: visitorIdentifierText
- visitorCategory: visitorCategory
- backgroundMode: backgroundMode
- onAppAdsTouch: onAppAdsTouch
- onAppAdsImpression: onAppAdsImpression
- gpsLatitude: gpsLatitude
- gpsLongitude: gpsLongitude
- referrer: referrer
Declaration
Swift
public enum HitParam : String
-
Background modes
- normal: tracking in foreground
- task: tracking in background
- fetch: tracking in iOS fetching feature
Declaration
Swift
@objc public enum BackgroundMode : Int