SITRealTimeRequest

Objective-C

@interface SITRealTimeRequest : NSObject <SITMapperProtocol>

Swift

class SITRealTimeRequest : NSObject, SITMapperProtocol

A data object that contains parameters for the real time service (SITRealTimeManager)

Properties

  • The identifier of the building (can be obtained on SITResource identifier property of a SITBuilding object)

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull buildingIdentifier;

    Swift

    var buildingIdentifier: String { get set }
  • Integer value (in seconds) that determine the interval rate of refreshing

    Note

    This value cannot be smaller than 3 seconds nor greater than 20 seconds (In case you provide a number smaller than 3 seconds, this minimum will be applied. This is also de default value. In case you provide a value greater than 20 seconds, 20 seconds will be applied.

    Declaration

    Objective-C

    @property (nonatomic) NSInteger updateInterval;

    Swift

    var updateInterval: Int { get set }