AVIMLocationMessage Class Reference

Inherits from AVIMTypedMessage : AVIMMessage : NSObject
Conforms to AVIMTypedMessageSubclassing
Declared in AVIMLocationMessage.h

Overview

Location Message.

  latitude

Latitude. Should be 0~90.

@property (nonatomic, assign, readonly) CGFloat latitude

Discussion

Latitude. Should be 0~90.

Declared In

AVIMLocationMessage.h

  longitude

Longitude, Should be 0~360.

@property (nonatomic, assign, readonly) CGFloat longitude

Discussion

Longitude, Should be 0~360.

Declared In

AVIMLocationMessage.h

+ messageWithText:latitude:longitude:attributes:

创建位置消息。

+ (instancetype)messageWithText:(nullable NSString *)text latitude:(CGFloat)latitude longitude:(CGFloat)longitude attributes:(nullable NSDictionary *)attributes

Parameters

text

- 消息文本.

latitude

- 纬度

longitude

- 经度

attributes

- 用户附加属性

Discussion

创建位置消息。

Declared In

AVIMLocationMessage.h