9#import <Foundation/Foundation.h> 
   11NS_ASSUME_NONNULL_BEGIN
 
   30@protocol MPLiveDataManagerDelegate <NSObject>
 
   67- (void) onError:(NSError*)error;
 
   79@property (nonatomic, weak) id<MPLiveDataManagerDelegate> 
delegate;
 
   83@property (nonatomic, strong, readonly) NSArray<MPLiveTopicCriteria*>* 
subscriptions;
 
MPLiveDataManagerState
Enumeration of MPLiveDataManager states.
Definition MPLiveDataManager.h:14
 
@ MPLiveDataManagerStateConnecting
The Connecting state reflects the process of creating a valid connection with the Live Update remote ...
Definition MPLiveDataManager.h:18
 
@ MPLiveDataManagerStateClosed
The Closed state is the initial state before any subscriptions has been made in the Live Data Manager...
Definition MPLiveDataManager.h:16
 
@ MPLiveDataManagerStateConnected
The Connected state relfects the state of being connected to the Live Update remote services.
Definition MPLiveDataManager.h:20
 
@ MPLiveDataManagerStateDisconnecting
The Disconnecting state reflects the process of disconnecting the Live Update remote services.
Definition MPLiveDataManager.h:22
 
Live Data information model. Holds the currently active domain types for a dataset.
Definition MPLiveDataInfo.h:15
 
The Live Data Manager class is the central class for managing Live Update subscriptions.
Definition MPLiveDataManager.h:78
 
MPLiveDataManagerState state
Get the state of the Live Data Manager.
Definition MPLiveDataManager.h:81
 
void unsubscribeAll()
Unsubscribe all Live Updates. When the last Topic Criteria is successfully unsubscribed the Live Data...
 
instancetype NS_UNAVAILABLE()
 
id< MPLiveDataManagerDelegate > delegate
Set or get the Live Data Manager Delegate. The delegate recieves all Live Updates,...
Definition MPLiveDataManager.h:79
 
NSArray< MPLiveTopicCriteria * > * subscriptions
Get the currently active and successful subscriptions.
Definition MPLiveDataManager.h:83
 
void updateLiveDataInfo()
Update Live Data information, including list of active Domain Types for the current dataset.
 
MPLiveDataManager * sharedInstance()
Get (or create and get) the shared instance of the Live Data Manager.
 
Definition MPLiveTopicCriteria.h:17
 
Model for a Live Update. Used in MPLiveDataManagerDelegate and MPLocation::getLiveUpdate().
Definition MPLiveUpdate.h:17