|
MapsIndoors iOS SDK V3
|
The Live Data Manager class is the central class for managing Live Update subscriptions. More...
#include <MPLiveDataManager.h>
Instance Methods | |
| (instancetype) | - NS_UNAVAILABLE |
| (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 | |
| (instancetype) | + NS_UNAVAILABLE |
| (MPLiveDataManager *) | + sharedInstance |
| Get (or create and get) the shared instance of the Live Data Manager. | |
Properties | |
| id< MPLiveDataManagerDelegate > | delegate |
| 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. | |
The Live Data Manager class is the central class for managing Live Update subscriptions.
| + (instancetype) NS_UNAVAILABLE |
| - (instancetype) NS_UNAVAILABLE |
| + (MPLiveDataManager *) sharedInstance |
Get (or create and get) the shared instance of the Live Data Manager.
| - (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.
| topic | The Topic Criteria. |
| - (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.
| topic | The Topic Criteria. |
| - (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.
|
readwritenonatomicweak |
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.
|
readnonatomicassign |
Get the state of the Live Data Manager.
|
readnonatomicstrong |
Get the currently active and successful subscriptions.