MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPSubscriptionClient.h
Go to the documentation of this file.
1//
2// MPSubscriptionClient.h
3// MapsIndoors
4//
5// Created by Daniel Nielsen on 27/07/2020.
6// Copyright © 2020 MapsPeople A/S. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
13
14NS_ASSUME_NONNULL_BEGIN
15
16@protocol MPSubscriptionClient <NSObject>
17
18@property (nonatomic, weak) id<MPSubscriptionClientDelegate> delegate;
19@property (nonatomic) MPSubscriptionState state;
20
21- (void) connect:(BOOL)cleanSessionFlag;
22- (void) disconnect;
23
24- (void) subscribe:(id<MPSubscriptionTopic>)topic;
25- (void) unsubscribe:(id<MPSubscriptionTopic>)topic;
26
27@end
28
29NS_ASSUME_NONNULL_END
MPSubscriptionState
Definition MPSubscriptionState.h:12