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
    See more

    Declaration

    Swift

    public enum OfflineModeKey : String
  • Plugin keys

    • nuggAd: NuggAd
    See more

    Declaration

    Swift

    public enum PluginKey : String
  • Identifier Types

    • uuid: The tracker will generate an uuid
    • idfv: The tracker will use the identifier for vendor
    See more

    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
    See more

    Declaration

    Swift

    public enum UUIDExpirationModeKey : String
  • Proxy types

    • none: No proxy
    • http
    • https
    • socks
    See more

    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
    See more

    Declaration

    Swift

    public enum SendApplicationState : String

JSON Type

JSON Base

  • Undocumented

    See more

    Declaration

    Swift

    public enum JSONIndex : Comparable

Subscript

  • To mark both String and Int can be used in subscript.

    See more

    Declaration

    Swift

    public enum JSONKey
  • Build or send status of the hit

    • failed: failed
    • success: success
    See more

    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
    See more

    Declaration

    Swift

    public enum HitParam : String
  • Background modes

    • normal: tracking in foreground
    • task: tracking in background
    • fetch: tracking in iOS fetching feature
    See more

    Declaration

    Swift

    @objc
    public enum BackgroundMode : Int