MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPAppDataProvider.h
Go to the documentation of this file.
1//
2// MPAppConfigProvider.h
3// MapsIndoors
4//
5// Created by Daniel Nielsen on 08/08/16.
6// Copyright Daniel Nielsen. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "MPDefines.h"
11#import "MPAppData.h"
12
13NS_ASSUME_NONNULL_BEGIN
14
18@protocol MPAppDataProviderDelegate <NSObject>
23@required
24- (void) onAppDataReady: (MPAppData*)appData;
25
26@end
27
28
32@interface MPAppDataProvider : NSObject
33
34
41typedef void(^mpAppDataHandlerBlockType)(MPAppData* _Nullable appData, NSError* _Nullable error);
42
43
47@property (nonatomic, weak, nullable) id <MPAppDataProviderDelegate> delegate;
48
53- (void)getAppDataWithCompletion:(nullable mpAppDataHandlerBlockType)handler;
57- (void)getAppData;
58
66+ (BOOL) isOfflineDataAvailableForSolutionId:(NSString*)solutionId language:(NSString*)language;
67
68@end
69
70NS_ASSUME_NONNULL_END
Definition MPAppData.h:17
Definition MPAppDataProvider.h:33
id< MPAppDataProviderDelegate > delegate
Definition MPAppDataProvider.h:47
void(^ mpAppDataHandlerBlockType)(MPAppData *_Nullable appData, NSError *_Nullable error)
Definition MPAppDataProvider.h:41