DMKLocation Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCopying |
| Declared in | DMKLocation.h DMKLocation.m |
Other Methods
– initWithLocation:andTag:providerType:coordinateType:
快速初始化方法
- (instancetype)initWithLocation:(CLLocation *)newLocation andTag:(NSString *)tag providerType:(DMKLocationProviderType)type coordinateType:(DMKLocationCoordinateType)coordinateTypeParameters
newLocation |
系统定位点 |
|---|---|
tag |
唯一标识 |
type |
定位来源 |
Discussion
快速初始化方法
Declared In
DMKLocation.h
Other Methods
locationID
定位数据的唯一标识
@property (nonatomic, strong, readonly) NSString *locationIDDiscussion
定位数据的唯一标识
Declared In
DMKLocation.h
providerType
定位数据来源类型
@property (nonatomic, assign, readonly) DMKLocationProviderType providerTypeDiscussion
定位数据来源类型
Declared In
DMKLocation.h
sourceType
定位精度来源
@property (nonatomic, assign, readonly) DMKLocationSourceType sourceTypeDiscussion
定位精度来源
Declared In
DMKLocation.h
coordinateType
定位坐标系
@property (nonatomic, assign, readonly) DMKLocationCoordinateType coordinateTypeDiscussion
定位坐标系
Declared In
DMKLocation.h
sourceTypeStr
定位精度来源字符串:@“ios_unknown"、@"ios_gps"、@"ios_wifi"、@"ios_cell"、@"didi_wifi”
@property (nonatomic, strong, readonly) NSString *sourceTypeStrDiscussion
定位精度来源字符串:@“ios_unknown"、@"ios_gps"、@"ios_wifi"、@"ios_cell"、@"didi_wifi”
Declared In
DMKLocation.h
location
原始定位数据
@property (nonatomic, strong, readonly) CLLocation *locationDiscussion
原始定位数据
Declared In
DMKLocation.h