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

Topic model for a Live Update. A Live Update Topic is hierarchical in the way it is defined, and its relation to MapsIndoors data is derivable by its 7 components: Dataset, Venue, Building, Floor, Room, Location and Domain Type. More...

#include <MPLiveUpdateTopic.h>

Inheritance diagram for MPLiveUpdateTopic:
<MPSubscriptionTopic> MPLiveTopicCriteria

Instance Methods

(instancetype) - initWithTopicString:
 
(BOOL) - matchesCriteria:
 

Properties

NSString * datasetId
 Get the id of the Dataset related to this topic.
 
NSString * venueId
 Get the id of the Venue related to this topic if any.
 
NSString * buildingId
 Get the id of the Building related to this topic if any.
 
NSString * floorId
 Get the id of the Floor related to this topic if any.
 
NSString * roomId
 Get the id of the Room related to this topic if any.
 
NSString * locationId
 Get the id of the Location related to this topic if any.
 
NSString * domainType
 Get the Domain Type related to this topic if any.
 
- Properties inherited from <MPSubscriptionTopic>
NSString * topicString
 

Detailed Description

Topic model for a Live Update. A Live Update Topic is hierarchical in the way it is defined, and its relation to MapsIndoors data is derivable by its 7 components: Dataset, Venue, Building, Floor, Room, Location and Domain Type.

Method Documentation

◆ initWithTopicString:

- (instancetype) initWithTopicString: (NSString *) topic

Initialises a Topic with a 7-component path formatted string, for example "datasetId/venueId/buildingId/floorId/roomId/locationId/domainType"

Parameters
topicThe topic string

Reimplemented from <MPSubscriptionTopic>.

◆ matchesCriteria:

- (BOOL) matchesCriteria: (MPLiveTopicCriteria *) criteria

Method to determine whether a Live Update Topic qualifies for a given Topic Criteria

Parameters
criteriaThe Topic Criteria

Property Documentation

◆ buildingId

- (NSString*) buildingId
readnonatomicstrong

Get the id of the Building related to this topic if any.

◆ datasetId

- (NSString*) datasetId
readnonatomicstrong

Get the id of the Dataset related to this topic.

◆ domainType

- (NSString*) domainType
readnonatomicstrong

Get the Domain Type related to this topic if any.

◆ floorId

- (NSString*) floorId
readnonatomicstrong

Get the id of the Floor related to this topic if any.

◆ locationId

- (NSString*) locationId
readnonatomicstrong

Get the id of the Location related to this topic if any.

◆ roomId

- (NSString*) roomId
readnonatomicstrong

Get the id of the Room related to this topic if any.

◆ venueId

- (NSString*) venueId
readnonatomicstrong

Get the id of the Venue related to this topic if any.