MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPLocationSource.h
Go to the documentation of this file.
1//
2// MPLocationSource.h
3// MapsIndoors
4//
5// Created by Daniel Nielsen on 26/10/2018.
6// Copyright © 2018 MapsPeople A/S. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "MPLocation.h"
13
14NS_ASSUME_NONNULL_BEGIN
15
16@class MPUserRole;
17
18@protocol MPLocationsObserver;
19
23@protocol MPLocationSource<NSObject>
29@required
30- (NSArray<MPLocation*>*)getLocations;
31
37@required
38- (void)addLocationsObserver:(id<MPLocationsObserver>)observer;
39
45@required
46- (void)removeLocationsObserver:(id<MPLocationsObserver>)observer;
47
57@required
62@required
63- (int)sourceId;
64
65@end
66
68
69+ (BOOL) isOfflineDataAvailableForSolutionId:(NSString*)solutionId language:(NSString*)language;
71
72- (void) synchronizeContentWithCompletion:(void(^_Nullable)(NSError*))completion;
73
74@end
75
76NS_ASSUME_NONNULL_END
MPLocationSourceStatus
Definition MPLocationSourceStatus.h:12
Definition MPLocation.h:38
Definition MPLocationSource.h:67
Definition MPUserRole.h:14
Definition MPLocationSource.h:23