Enums
The following enums are available globally.
-
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
-
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
-
Declaration
Swift
public enum Type :Int