Enums

The following enums are available globally.

  • 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
  • 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
  • To mark both String and Int can be used in subscript.

    See more

    Declaration

    Swift

    public enum JSONKey