MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
MPLiveUpdate Class Reference

Model for a Live Update. Used in MPLiveDataManagerDelegate and MPLocation::getLiveUpdate(). More...

#include <MPLiveUpdate.h>

Inheritance diagram for MPLiveUpdate:
MPAvailabilityLiveUpdate MPCO2LiveUpdate MPCountLiveUpdate MPHumidityLiveUpdate MPOccupancyLiveUpdate MPPositionLiveUpdate MPTemperatureLiveUpdate

Instance Methods

(nullable NSObject *) - getLiveValueForKey:
 

Properties

MPLiveUpdateTopictopic
 Get the Topic of the Live Update.
 
NSString * itemId
 Get the item id that a Live Update relates to. In most cases this would be the id of a MPLocation.
 
NSString * originSourceId
 Get the id for the origin source entity of a Live Update. Often the Live Update comes from another entity or device in a 3rd-party system. For example an id of a meeting room calendar in a booking system or an id of a room temperature sensor.
 
NSString * timestamp
 Get the timestamp for a Live Update.
 

Detailed Description

Model for a Live Update. Used in MPLiveDataManagerDelegate and MPLocation::getLiveUpdate().

Method Documentation

◆ getLiveValueForKey:

- (nullable NSObject *) getLiveValueForKey: (NSString *) key

Get a value from a specific Live Update property. If no value exists the method returns nil.

Parameters
keyThe key for the property.

Property Documentation

◆ itemId

- (NSString*) itemId
readnonatomicstrong

Get the item id that a Live Update relates to. In most cases this would be the id of a MPLocation.

◆ originSourceId

- (NSString*) originSourceId
readnonatomicstrong

Get the id for the origin source entity of a Live Update. Often the Live Update comes from another entity or device in a 3rd-party system. For example an id of a meeting room calendar in a booking system or an id of a room temperature sensor.

◆ timestamp

- (NSString*) timestamp
readnonatomicstrong

Get the timestamp for a Live Update.

◆ topic

- (MPLiveUpdateTopic*) topic
readnonatomicstrong

Get the Topic of the Live Update.