Classes

The following classes are available globally.

  • Wrapper class for tracking usage of your application

    See more

    Declaration

    Swift

    public class Tracker: NSObject
  • The main class for SocketIOClientSwift.

    Represents a socket.io-client. Most interaction with socket.io will be through this class.

    See more

    Declaration

    Swift

    open class SocketIOClient : NSObject, SocketIOClientSpec, SocketEngineClient, SocketParsable
  • Wrapper class for gps location tracking

    See more

    Declaration

    Swift

    public class Location: ScreenInfo
  • /// Wrapper class to manage Locations instances

    See more

    Declaration

    Swift

    public class Locations: NSObject
  • Wrapper class for live audio tracking

    Declaration

    Swift

    public class LiveAudio: RichMedia
  • Wrapper class to manage LiveAudio instances

    See more

    Declaration

    Swift

    public class LiveAudios: NSObject
  • Wrapper class for Video tracking

    See more

    Declaration

    Swift

    public class Video: RichMedia
  • Wrapper class to manage Video instances

    See more

    Declaration

    Swift

    public class Videos: NSObject
  • Wrap class for audio media tracking

    See more

    Declaration

    Swift

    public class Audio: RichMedia
  • Wrapper class to manage Audio instances

    See more

    Declaration

    Swift

    public class Audios: NSObject
  • Background task

    Declaration

    Swift

    public class BackgroundTask: NSObject
  • Represents some event that was received.

    See more

    Declaration

    Swift

    public final class SocketAnyEvent : NSObject
  • Tracker configuration keys helper - used to make easier Tracker creation by providing few static parameters

    See more

    Declaration

    Swift

    public class TrackerConfigurationKeys: NSObject
  • Class to manage offline hits stored

    See more

    Declaration

    Swift

    public class Offline: NSObject
  • Wrapper class to enable NuggAd partner usage

    See more

    Declaration

    Swift

    public class NuggAd: BusinessObject
  • Wrapper class to manage NuggAd instances

    See more

    Declaration

    Swift

    public class NuggAds: NSObject
  • Use this class to manage tracker instances

    See more

    Declaration

    Swift

    public class ATInternet: NSObject
  • Helper to provide a simple tracker delegate that log all messages pushed by the SDK (verbose, warning, error…) Note: tracker.delegate is a weak var, so you have to reference the DefaultTrackerDelegate strongly somewhere. tracker.delegate = DefaultTrackerDelegate() // not working because the variable will be dealloc at the end of the function.

    See more

    Declaration

    Swift

    public class DefaultTrackerDelegate: NSObject, TrackerDelegate
  • Global context tracking

    See more

    Declaration

    Swift

    public class Context: NSObject
  • Wrapper class for Live Video tracking

    Declaration

    Swift

    public class LiveVideo: RichMedia
  • Wrapper class to manage Live Audio instances

    See more

    Declaration

    Swift

    public class LiveVideos: NSObject
  • Wrapper class to manage rich media tracking

    See more

    Declaration

    Swift

    public class MediaPlayer: NSObject
  • Wrapper class to manage media players

    See more

    Declaration

    Swift

    public class MediaPlayers: NSObject
  • Wrapper class to manage SalesTracker Order feature

    See more

    Declaration

    Swift

    public class Order: BusinessObject
  • Wrapper class to manage Orders instances

    See more

    Declaration

    Swift

    public class Orders: NSObject
  • Wrapper class to manage specific order discount feature

    See more

    Declaration

    Swift

    public class OrderDiscount: NSObject
  • Wrapper class to manage specific order amount feature

    See more

    Declaration

    Swift

    public class OrderAmount: NSObject
  • Wrapper class to manage specific order delivery feature

    See more

    Declaration

    Swift

    public class OrderDelivery: NSObject
  • Wrapper class for tracking order custom variables

    See more

    Declaration

    Swift

    public class OrderCustomVar: NSObject
  • Wrapper class to manage OrderCustomVar instances

    See more

    Declaration

    Swift

    public class OrderCustomVars: NSObject
  • Wrapper class for Publisher (ads) tracking

    See more

    Declaration

    Swift

    public class Publisher : OnAppAd
  • Wrapper class for publisher impression tracking. They are attached to a Screen

    See more

    Declaration

    Swift

    public class PublisherImpression: ScreenInfo
  • Wrapper class to manage PublisherImpressions instances

    See more

    Declaration

    Swift

    public class PublisherImpressions: NSObject
  • Wrapper class to manage Publisher instances

    See more

    Declaration

    Swift

    public class Publishers: NSObject
  • Wrapper class for Visited aisle tracking

    See more

    Declaration

    Swift

    public class Aisle: ScreenInfo
  • Wrapper class to manage aisles instances

    See more

    Declaration

    Swift

    public class Aisles
  • Buffer that stores hit parameters

    See more

    Declaration

    Swift

    public class Buffer: NSObject
  • Wrapper class for identified visitor tracking

    See more

    Declaration

    Swift

    public class IdentifiedVisitor: NSObject
  • Class representing the view that was touched by a user

    See more

    Declaration

    Swift

    public class View: NSObject
  • Class reponsible for sending events

    Declaration

    Swift

    public class SocketSender
  • Wrapper class for marketing campaign tracking

    See more

    Declaration

    Swift

    public class Campaign: ScreenInfo
  • Wrapper class to manage Campaign instances

    See more

    Declaration

    Swift

    public class Campaigns: NSObject
  • Super class for object tracking. Not recommended for normal use. If you need special markers you can subclass BusinessObject.

    Declaration

    Swift

    open class BusinessObject: NSObject
  • Wrapper class to inject custom variables information

    See more

    Declaration

    Swift

    public class CustomVar: ScreenInfo
  • Wrapper class used to manage CustomVar instances

    See more

    Declaration

    Swift

    public class CustomVars: NSObject
  • A class that represents a waiting ack call.

    NOTE: You should not store this beyond the life of the event handler.

    See more

    Declaration

    Swift

    public final class SocketAckEmitter : NSObject
  • A class that represents an emit that will request an ack that has not yet been sent. Call timingOut(after:callback:) to complete the emit Example:

    socket.emitWithAck("myEvent").timingOut(after: 1) {data in
        ...
    }
    
    See more

    Declaration

    Swift

    public final class OnAckCallback : NSObject
  • Wrapper class to enable TVTracking partner usage

    See more

    Declaration

    Swift

    public class TVTracking: NSObject
  • Hit

    Class to provide Hit information. A hit is an HTTP request with a querystring containing all tracking information.

    See more

    Declaration

    Swift

    public class Hit: NSObject
  • Experimental socket manager.

    API subject to change.

    Can be used to persist sockets across ViewControllers.

    Sockets are strongly stored, so be sure to remove them once they are no longer needed.

    Example usage: let manager = SocketClientManager.sharedManager manager["room1"] = socket1 manager["room2"] = socket2 manager.removeSocket(socket: socket2) manager["room1"]?.emit("hello")

    See more

    Declaration

    Swift

    open class SocketClientManager : NSObject