iOS高德地图SDK(3D) V11.2.0001

MAOfflineItem.h
Go to the documentation of this file.
1 //
2 // MAOfflineItem.h
3 // MapKit_static
4 //
5 // Created by songjian on 14-4-23.
6 // Copyright © 2016 Amap. All rights reserved.
7 //
8
9
10
11 #import "MAConfig.h"
12
13 #if MA_INCLUDE_OFFLINE
14
15 #import <Foundation/Foundation.h>
16
19 typedef NS_ENUM(NSInteger, MAOfflineItemStatus)
20 {
21 MAOfflineItemStatusNone = 0,
22 MAOfflineItemStatusCached,
23 MAOfflineItemStatusInstalled,
24 MAOfflineItemStatusExpired
25 };
26
27 @interface MAOfflineItem : NSObject
28
31 @property (nonatomic, copy, readonly) NSString *name;
32
35 @property (nonatomic, copy, readonly) NSString *jianpin;
36
39 @property (nonatomic, copy, readonly) NSString *pinyin;
40
43 @property (nonatomic, copy, readonly) NSString *adcode;
44
47 @property (nonatomic, assign, readonly) long long size;
48
51 @property (nonatomic, assign, readonly) MAOfflineItemStatus itemStatus;
52
55 @property (nonatomic, assign, readonly) long long downloadedSize;
56
57 @end
58
59 #endif
MAConfig.h
MAOfflineItemStatus
MAOfflineItemStatus
Definition: MAOfflineItem.h:20
MAOfflineItemStatusInstalled
@ MAOfflineItemStatusInstalled
已安装 Installed
Definition: MAOfflineItem.h:23
MAOfflineItemStatusNone
@ MAOfflineItemStatusNone
不存在 Not exist
Definition: MAOfflineItem.h:21
MAOfflineItemStatusCached
@ MAOfflineItemStatusCached
缓存状态 Cache status
Definition: MAOfflineItem.h:22
MAOfflineItemStatusExpired
@ MAOfflineItemStatusExpired
已过期 Expired
Definition: MAOfflineItem.h:24
MAOfflineItem
Definition: MAOfflineItem.h:28
MAOfflineItem::name
NSString * name
Definition: MAOfflineItem.h:31
MAOfflineItem::pinyin
NSString * pinyin
Definition: MAOfflineItem.h:39
MAOfflineItem::downloadedSize
long long downloadedSize
Definition: MAOfflineItem.h:55
MAOfflineItem::adcode
NSString * adcode
Definition: MAOfflineItem.h:43
MAOfflineItem::jianpin
NSString * jianpin
Definition: MAOfflineItem.h:35
MAOfflineItem::itemStatus
MAOfflineItemStatus itemStatus
Definition: MAOfflineItem.h:51
MAOfflineItem::size
long long size
Definition: MAOfflineItem.h:47
© 2017 高德信息技术有限公司 版权所有，保留所有权利。