MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPDataSetEnums.h
Go to the documentation of this file.
1//
2// MPDataSetScope.h
3// MapsIndoors
4//
5// Created by Daniel Nielsen on 31/01/2020.
6// Copyright © 2020 MapsPeople A/S. All rights reserved.
7//
8
9#ifndef MPDataSetEnums_h
10#define MPDataSetEnums_h
11
15typedef NS_ENUM(NSUInteger, MPDataSetCacheScope) {
19
21
22 //START: Fix feature/MISDKIOS-545-Avoid-the-underscore-when-naming-our-Obj-C-enums-and-options-to-get-nicer-formating-in-Swift in a backwards compatible manner
27 //END: Fix feature/MISDKIOS-545-Avoid-the-underscore-when-naming-our-Obj-C-enums-and-options-to-get-nicer-formating-in-Swift in a backwards compatible manner
28};
29
30#define MPDataSetCachingScopeString(enum) @{ \
31 @(MPDataSetBasic):@"basic", \
32 @(MPDataSetDetailed):@"detailed", \
33 @(MPDataSetFull):@"full" \
34}[@(enum)]\
35
53
54#define MPDataSetCachingStrategyString(enum) @{ \
55 @(MPDataSetCachingStrategyDontCache):@"dont_cache", \
56 @(MPDataSetCachingStrategyAutomatic):@"automatic", \
57 @(MPDataSetCachingStrategyManual):@"manual" \
58}[@(enum)]\
59
60#endif /* MPDataSetScope_h */
MPDataSetCachingStrategy
Definition MPDataSetEnums.h:39
@ MPDataSetCachingStrategyAutomatic
Definition MPDataSetEnums.h:47
@ MPDataSetCachingStrategyDontCache
Definition MPDataSetEnums.h:43
@ MPDataSetCachingStrategyManual
Definition MPDataSetEnums.h:51
MPDataSetCacheScope
Definition MPDataSetEnums.h:15
@ MPDataSetCachingScope_Detailed
Basic cache scope. Information about locations, buildings and venue and type images.
Definition MPDataSetEnums.h:17
@ MPDataSetBasic
Definition MPDataSetEnums.h:24
@ MPDataSetDefault
Definition MPDataSetEnums.h:23
@ MPDataSetDetailed
Basic cache scope. Information about locations, buildings and venue and type images.
Definition MPDataSetEnums.h:25
@ MPDataSetCachingScope_Default
Full cache scope. All necessary content is downloaded for a data set to work offline.
Definition MPDataSetEnums.h:20
@ MPDataSetCachingScope_Basic
Definition MPDataSetEnums.h:16
@ MPDataSetFull
Basic + location-specific images.
Definition MPDataSetEnums.h:26
@ MPDataSetCachingScope_Full
Basic + location-specific images.
Definition MPDataSetEnums.h:18