Classes
The following classes are available globally.
-
Wrapper class for tracking usage of your application
See moreDeclaration
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 moreDeclaration
Swift
open class SocketIOClient : NSObject, SocketIOClientSpec, SocketEngineClient, SocketParsable
-
Wrapper class for gps location tracking
See moreDeclaration
Swift
public class Location: ScreenInfo -
/// Wrapper class to manage Locations instances
See moreDeclaration
Swift
public class Locations: NSObject
-
Wrapper class to manage Video instances
See moreDeclaration
Swift
public class Videos: NSObject
-
Wrapper class to manage Audio instances
See moreDeclaration
Swift
public class Audios: NSObject
-
Background task
Declaration
Swift
public class BackgroundTask: NSObject
-
Wrapper class for gesture tracking
See moreDeclaration
Swift
public class Gesture: BusinessObject -
Wrapper class to manage Gesture instances
See moreDeclaration
Swift
public class Gestures: NSObject
-
Wrapper class to inject custom data in you tracking
See moreDeclaration
Swift
public class CustomObject: BusinessObject -
Wrapper class to manage custom objects instances
See moreDeclaration
Swift
public class CustomObjects: NSObject
-
Represents some event that was received.
See moreDeclaration
Swift
public final class SocketAnyEvent : NSObject
-
Tracker configuration keys helper - used to make easier Tracker creation by providing few static parameters
See moreDeclaration
Swift
public class TrackerConfigurationKeys: NSObject
-
Wrapper class for internal search tracking
See moreDeclaration
Swift
public class InternalSearch: BusinessObject -
Wrapper class to managed
See moreDeclaration
Swift
public class InternalSearches: NSObject
-
Class to manage offline hits stored
See moreDeclaration
Swift
public class Offline: NSObject
-
Wrapper class to enable NuggAd partner usage
See moreDeclaration
Swift
public class NuggAd: BusinessObject -
Wrapper class to manage NuggAd instances
See moreDeclaration
Swift
public class NuggAds: NSObject
-
Use this class to manage tracker instances
See moreDeclaration
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 moreDeclaration
Swift
public class DefaultTrackerDelegate: NSObject, TrackerDelegate
-
Wrapper class to manage SalesTracker Order feature
See moreDeclaration
Swift
public class Order: BusinessObject -
Wrapper class to manage Orders instances
See moreDeclaration
Swift
public class Orders: NSObject -
Wrapper class to manage specific order discount feature
See moreDeclaration
Swift
public class OrderDiscount: NSObject -
Wrapper class to manage specific order amount feature
See moreDeclaration
Swift
public class OrderAmount: NSObject -
Wrapper class to manage specific order delivery feature
See moreDeclaration
Swift
public class OrderDelivery: NSObject -
Wrapper class for tracking order custom variables
See moreDeclaration
Swift
public class OrderCustomVar: NSObject -
Wrapper class to manage OrderCustomVar instances
See moreDeclaration
Swift
public class OrderCustomVars: NSObject
-
Abstract class to manage rich media tracking
See moreDeclaration
Swift
public class RichMedia : BusinessObject
-
The class that handles the engine.io protocol and transports. See
See moreSocketEnginePollableandSocketEngineWebsocketfor transport specific methods.Declaration
Swift
public final class SocketEngine : NSObject, URLSessionDelegate, SocketEnginePollable, SocketEngineWebsocket
-
Wrapper class to manage your cart
See moreDeclaration
Swift
public class Cart: BusinessObject
-
Wrapper class for publisher impression tracking. They are attached to a Screen
See moreDeclaration
Swift
public class PublisherImpression: ScreenInfo -
Wrapper class to manage PublisherImpressions instances
See moreDeclaration
Swift
public class PublisherImpressions: NSObject -
Wrapper class to manage Publisher instances
See moreDeclaration
Swift
public class Publishers: NSObject
-
Wrapper class for custom tree structure tracking
See moreDeclaration
Swift
public class CustomTreeStructure: ScreenInfo -
Wrapper class to manage custom tree structure instances
See moreDeclaration
Swift
public class CustomTreeStructures: NSObject
-
Wrapper class for Visited aisle tracking
See moreDeclaration
Swift
public class Aisle: ScreenInfo -
Wrapper class to manage aisles instances
See moreDeclaration
Swift
public class Aisles
-
Parameter option
See moreDeclaration
Swift
public class ParamOption: NSObject
-
self promotion impression tracking
See moreDeclaration
Swift
public class SelfPromotionImpression: ScreenInfo -
Wrapper class to manage Self Promotion Impressions
See moreDeclaration
Swift
public class SelfPromotionImpressions: NSObject -
Wrapper class to manage Self Promotion instances
See moreDeclaration
Swift
public class SelfPromotions: NSObject
-
Wrapper class for identified visitor tracking
See moreDeclaration
Swift
public class IdentifiedVisitor: NSObject
-
Class representing the view that was touched by a user
See moreDeclaration
Swift
public class View: NSObject
-
Class reponsible for sending events
Declaration
Swift
public class SocketSender
-
Business object type for screen tracking. Used only for specific case.
Declaration
Swift
public class ScreenInfo: BusinessObject -
Abstract business object to manage screen tracking.
See moreDeclaration
Swift
public class AbstractScreen: BusinessObject -
Wrapper class for screen tracking
See moreDeclaration
Swift
public class Screen: AbstractScreen -
Wrapper class for dynamic screen tracking
See moreDeclaration
Swift
public class DynamicScreen: AbstractScreen -
Wrapper class to manage Screen instances
See moreDeclaration
Swift
public class Screens: NSObject -
Wrapper class to manage Screen instances
See moreDeclaration
Swift
public class DynamicScreens: NSObject
-
Wrapper class for marketing campaign tracking
See moreDeclaration
Swift
public class Campaign: ScreenInfo -
Wrapper class to manage Campaign instances
See moreDeclaration
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 moreDeclaration
Swift
public class CustomVar: ScreenInfo -
Wrapper class used to manage CustomVar instances
See moreDeclaration
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 moreDeclaration
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:
See moresocket.emitWithAck("myEvent").timingOut(after: 1) {data in ... }Declaration
Swift
public final class OnAckCallback : NSObject
-
Wrapper class to enable TVTracking partner usage
See moreDeclaration
Swift
public class TVTracking: NSObject
-
Abstract class to manage Advertising tracking
See moreDeclaration
Swift
public class OnAppAd: BusinessObject
-
Class to provide Hit information. A hit is an HTTP request with a querystring containing all tracking information.
See moreDeclaration
Swift
public class Hit: NSObject
-
Undocumented
See more
-
Wrapper class for tracking product
See moreDeclaration
Swift
public class Product : BusinessObject -
Wrapper class to manage Product instances
See moreDeclaration
Swift
public class Products: 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:
See morelet manager = SocketClientManager.sharedManager manager["room1"] = socket1 manager["room2"] = socket2 manager.removeSocket(socket: socket2) manager["room1"]?.emit("hello")Declaration
Swift
open class SocketClientManager : NSObject
Classes Reference