NIMLocationObject Class Reference
Inherits from | NSObject |
---|---|
Conforms to | NIMMessageObject |
Declared in | NIMLocationObject.h |
– initWithLatitude:longitude:title:
位置实例对象初始化方法
- (instancetype)initWithLatitude:(double)latitude longitude:(double)longitude title:(nullable NSString *)title
Parameters
latitude |
纬度 |
---|---|
longitude |
经度 |
title |
地理位置描述 |
Return Value
位置实例对象
Discussion
位置实例对象初始化方法
Declared In
NIMLocationObject.h
latitude
维度
@property (nonatomic, assign, readonly) double latitude
Discussion
维度
Declared In
NIMLocationObject.h
longitude
经度
@property (nonatomic, assign, readonly) double longitude
Discussion
经度
Declared In
NIMLocationObject.h
title
标题
@property (nullable, nonatomic, copy, readonly) NSString *title
Discussion
标题
Declared In
NIMLocationObject.h