TEALDispatch Class Reference

Inherits from NSObject
Conforms to NSCoding
Declared in TEALDispatch.h

Overview

Constants for the two most common dispatch types

  dispatchType

Type of dispatch, either ‘activity’, ‘view’ , ‘interaction’, ‘derived’, or ‘conversion’

@property (nonatomic) TEALDispatchType dispatchType

Declared In

TEALDispatch.h

  assignedBlock

Optional block assigned to dispatch that can be triggered upon dispatch or queuing of dispatch

@property (nonatomic, strong) TEALDispatchBlock _Nullable assignedBlock

Declared In

TEALDispatch.h

  dispatchServiceName

Name of the dispatch service used to deliver track call.

@property (nonatomic, strong) NSString *dispatchServiceName

Declared In

TEALDispatch.h

  payload

The populated datasources available for mapping with the dispatch.

@property (nonatomic, strong) NSDictionary *payload

Declared In

TEALDispatch.h

  timestamp

Time in Unix epoch of when the dispatch origin track call was called.

@property (nonatomic) NSTimeInterval timestamp

Declared In

TEALDispatch.h

+ stringFromDispatchStatus:

Status as human-readable text.

+ (NSString *_Nonnull)stringFromDispatchStatus:(TEALDispatchStatus)dispatchStatus

Parameters

dispatchStatus

TEALDispatchStatus of a dispatch.

Return Value

NSString representation of the given dispatch status type.

Declared In

TEALDispatch.h

– asDictionary

Converts a TEALDispatch to a NSDictionary

- (NSDictionary *_Nonnull)asDictionary

Declared In

TEALDispatch.h

+ fromDictionary:

Converts a NSDictionary to a TEALDispatch

+ (TEALDispatch *_Nonnull)fromDictionary:(NSDictionary *_Nullable)dictionary

Declared In

TEALDispatch.h