SITEvent
Objective-C
@interface SITEvent : NSObject <SITMapperProtocol>
Swift
class SITEvent : NSObject, SITMapperProtocol
An event: POI with radius, conversion area and asociated statistics. It is intended for usage in marketing apps
-
This is a unique identifier of each event
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nonnull identifier;Swift
var identifier: NSNumber { get set } -
Name
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull name;Swift
var name: String { get set } -
Date containing the time when a resource was first created.
Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nonnull createdAt;Swift
var createdAt: Date { get set } -
Date containing the time when a resource was last updated.
Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nonnull updatedAt;Swift
var updatedAt: Date { get set } -
Additional information about the SITEvent
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull info;Swift
var info: String { get set } -
Link to a website displaying relating info about the event
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull url;Swift
var url: String { get set } -
The area inside the SITIndoorBuilding where the event should be fired.
Declaration
Objective-C
@property (nonatomic, strong) SITCircularArea *_Nonnull trigger;Swift
var trigger: SITCircularArea { get set } -
The area inside the SITIndoorBuilding where the event should be considered as converted
Declaration
Objective-C
@property (nonatomic, strong) SITCircularArea *_Nonnull conversion;Swift
var conversion: SITCircularArea { get set } -
Custom fields that can be added from the Dashboard
Declaration
Objective-C
@property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nonnull customFields;Swift
var customFields: [String : String] { get set }