MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPSubscriptionClientDelegate.h
Go to the documentation of this file.
1//
2// MPSubcriptionClientDelegate.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>
12
13NS_ASSUME_NONNULL_BEGIN
14
15
16@protocol MPSubscriptionClientDelegate <NSObject>
17
18@required
19- (void) didReceiveMessage:(NSData*)message onTopic:(NSString*) topicString;
20
21@required
22- (void) didUpdateState:(MPSubscriptionState)state;
23
24@required
25- (void) didSubscribe:(id<MPSubscriptionTopic>)topic;
26
27@required
28- (void) didUnsubscribe:(id<MPSubscriptionTopic>)topic;
29
30@required
31- (void) onSubscriptionError:(NSError*)error topic:(id<MPSubscriptionTopic>)topic;
32
33@required
34- (void) onUnsubscriptionError:(NSError*)error topic:(id<MPSubscriptionTopic>)topic;
35
36@required
37- (void) onError:(NSError*)error;
38
39@end
40
41NS_ASSUME_NONNULL_END
MPSubscriptionState
Definition MPSubscriptionState.h:12