JMSGLocationContent Class Reference

Inherits from JMSGAbstractContent : NSObject
Conforms to NSCopying
Declared in JMSGLocationContent.h

Overview

地理位置内容类型

  latitude

纬度

@property (nonatomic, strong, readonly) NSNumber *latitude

Declared In

JMSGLocationContent.h

  longitude

经度

@property (nonatomic, strong, readonly) NSNumber *longitude

Declared In

JMSGLocationContent.h

  scale

缩放

@property (nonatomic, strong, readonly) NSNumber *scale

Declared In

JMSGLocationContent.h

  address

详细地址信息

@property (nonatomic, copy, readonly) NSString *address

Declared In

JMSGLocationContent.h

– initWithLatitude:longitude:scale:address:

初始化地理位置消息内容

- (instancetype)initWithLatitude:(NSNumber *)latitude longitude:(NSNumber *)longitude scale:(NSNumber *)scale address:(NSString *)address

Parameters

latitude

纬度

longitude

经度

scale

缩放比例

address

详细地址信息

Return Value

地理位置消息内容

Declared In

JMSGLocationContent.h