MapsIndoors iOS SDK  V3
Instance Methods | Class Methods | Properties | List of all members
MPLiveDataManager Class Reference

The Live Data Manager class is the central class for managing Live Update subscriptions. More...

#import <MPLiveDataManager.h>

Inherits NSObject.

Instance Methods

(void) - subscribe:
 
(void) - unsubscribe:
 
(void) - unsubscribeAll
 Unsubscribe all Live Updates. When the last Topic Criteria is successfully unsubscribed the Live Data Manager will disconnect from the Live Update remote services.
 
(void) - updateLiveDataInfo
 Update Live Data information, including list of active Domain Types for the current dataset.
 

Class Methods

(MPLiveDataManager *) + sharedInstance
 Get (or create and get) the shared instance of the Live Data Manager.
 

Properties

id< MPLiveDataManagerDelegatedelegate
 Set or get the Live Data Manager Delegate. The delegate recieves all Live Updates, state changes, errors and other calls from the Live Data Manager.
 
MPLiveDataManagerState state
 Get the state of the Live Data Manager.
 
NSArray< MPLiveTopicCriteria * > * subscriptions
 Get the currently active and successful subscriptions.
 

Detailed Description

The Live Data Manager class is the central class for managing Live Update subscriptions.

Method Documentation

◆ subscribe:

- (void) subscribe: (MPLiveTopicCriteria *)  topic

Subscribe to Live Updates with a given Topic Criteria. If no previous subscriptions have been made, the Live Data Manager will first connect to the Live Update remote services.

Parameters
topicThe Topic Criteria.

◆ unsubscribe:

- (void) unsubscribe: (MPLiveTopicCriteria *)  topic

Unsubscribe to Live Updates with a given Topic Criteria. When the last Topic Criteria is successfully unsubscribed the Live Data Manager will disconnect from the Live Update remote services.

Parameters
topicThe Topic Criteria.

The documentation for this class was generated from the following file: