TencentMapSDK_iOS_3D_v6.7.0

QOfflineItem.h
1 //
2 // QOfflineItem.h
3 // QMapKit
4 //
5 // Created by Keith Cao on 2020/4/20.
6 // Copyright © 2020 tencent. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
11 NS_ASSUME_NONNULL_BEGIN
16 typedef NS_ENUM(NSInteger, QOfflineItemStatus)
17 {
18 QOfflineItemStatusNone,
19 QOfflineItemStatusUpdated,
20 QOfflineItemStatusOutdated
21 };
22
26 @interface QOfflineItem : NSObject
27
29 @property (nonatomic, copy, readonly) NSString *name;
30
32 @property (nonatomic, copy, readonly) NSString *pinyin;
33
35 @property (nonatomic, assign, readonly) long long size;
36
38 @property (nonatomic, assign, readonly) QOfflineItemStatus status;
39
40 @end
41
45 @interface QOfflineProvince : QOfflineItem
46
48 @property (nonatomic, strong) NSArray <QOfflineItem *> *items;
49
50 @end
51
55 @interface QOfflineNation : QOfflineItem
56
57 @end
58
59 NS_ASSUME_NONNULL_END
QOfflineProvince
省份类, 省份不支持下载
Definition: QOfflineItem.h:46
QOfflineItem::name
NSString * name
名字
Definition: QOfflineItem.h:29
QOfflineNation
全国概要类
Definition: QOfflineItem.h:56
QOfflineItem
离线文件类
Definition: QOfflineItem.h:27
QOfflineItem::status
QOfflineItemStatus status
状态
Definition: QOfflineItem.h:38
QOfflineItem::size
long long size
数据大小
Definition: QOfflineItem.h:35
QOfflineItem::pinyin
NSString * pinyin
拼音
Definition: QOfflineItem.h:32