MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPLiveUpdate.h
Go to the documentation of this file.
1//
2// MPLiveStateItem.h
3// MapsIndoors
4//
5// Created by Daniel Nielsen on 16/06/2020.
6// Copyright © 2020 MapsPeople A/S. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
12
13NS_ASSUME_NONNULL_BEGIN
14
16@interface MPLiveUpdate : NSObject
17
19@property (nonatomic, strong, readonly) MPLiveUpdateTopic *topic;
21@property (nonatomic, strong, readonly) NSString *itemId;
23@property (nonatomic, strong, readonly) NSString *originSourceId;
25@property (nonatomic, strong, readonly) NSString *timestamp;
28- (nullable NSObject*) getLiveValueForKey:(NSString*)key;
29
30@end
31NS_ASSUME_NONNULL_END
Model for a Live Update. Used in MPLiveDataManagerDelegate and MPLocation::getLiveUpdate().
Definition MPLiveUpdate.h:17
NSString * timestamp
Get the timestamp for a Live Update.
Definition MPLiveUpdate.h:25
NSString * itemId
Get the item id that a Live Update relates to. In most cases this would be the id of a MPLocation.
Definition MPLiveUpdate.h:21
MPLiveUpdateTopic * topic
Get the Topic of the Live Update.
Definition MPLiveUpdate.h:19
NSString * originSourceId
Get the id for the origin source entity of a Live Update. Often the Live Update comes from another en...
Definition MPLiveUpdate.h:23
Topic model for a Live Update. A Live Update Topic is hierarchical in the way it is defined,...
Definition MPLiveUpdateTopic.h:18