#import <AgoraChatLocationMessageBody.h>
@header AgoraChatLocationMessageBody.h @abstract Location message body
- 作者
- Hyphenate
- 版本
- 3.00 The location message body.
◆ initWithLatitude:longitude:address:
| - (instancetype _Nonnull) initWithLatitude: |
|
(double) |
aLatitude |
| longitude: |
|
(double) |
aLongitude |
| address: |
|
(NSString *_Nullable) |
aAddress |
|
|
| |
Initializes a location message body instance.
- 参数
-
| aLatitude | The latitude. |
| aLongitude | The longitude. |
| aAddress | The address. |
- 返回
- The location message body instance.
◆ initWithLatitude:longitude:address:buildingName:
| - (instancetype _Nonnull) initWithLatitude: |
|
(double) |
aLatitude |
| longitude: |
|
(double) |
aLongitude |
| address: |
|
(NSString *_Nullable) |
aAddress |
| buildingName: |
|
(NSString *_Nullable) |
aBuildingName |
|
|
| |
Initialize a location message body instance
- 参数
-
| aLatitude | Latitude |
| aLongitude | Longitude |
| aAddress | Address |
| aBuildingName | BuildingName |
- 返回
- Location message body instance
◆ NS_UNAVAILABLE
| - (instancetype _Nonnull) NS_UNAVAILABLE |
|
|
|
◆ address
| - (NSString* _Nullable) address |
|
readwritenonatomiccopy |
◆ buildingName
| - (NSString* _Nullable) buildingName |
|
readwritenonatomiccopy |
◆ latitude
◆ longitude
该类的文档由以下文件生成: