ShengwangChatSDK 1.3.2
构造函数 | 属性 | 所有成员列表
AgoraChatLocationMessageBody类 参考

#import <AgoraChatLocationMessageBody.h>

类 AgoraChatLocationMessageBody 继承关系图:
AgoraChatMessageBody

构造函数

(instancetype _Nonnull) - initWithLatitude:longitude:address:
 
(instancetype _Nonnull) - initWithLatitude:longitude:address:buildingName:
 
(instancetype _Nonnull) - NS_UNAVAILABLE
 
(instancetype _Nonnull) - NS_UNAVAILABLE
 

属性

double latitude
 
double longitude
 
NSString *_Nullable address
 
NSString *_Nullable buildingName
 
- 属性 继承自 AgoraChatMessageBody
AgoraChatMessageBodyType type
 
NSUInteger operationTime
 
NSString * operatorId
 
NSUInteger operatorCount
 

详细描述

@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.

参数
aLatitudeThe latitude.
aLongitudeThe longitude.
aAddressThe 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

参数
aLatitudeLatitude
aLongitudeLongitude
aAddressAddress
aBuildingNameBuildingName
返回
Location message body instance

◆ NS_UNAVAILABLE

- (instancetype _Nonnull) NS_UNAVAILABLE

属性说明

◆ address

- (NSString* _Nullable) address
readwritenonatomiccopy

The address.

◆ buildingName

- (NSString* _Nullable) buildingName
readwritenonatomiccopy

buildingName

◆ latitude

- (double) latitude
readwritenonatomicassign

The location latitude.

◆ longitude

- (double) longitude
readwritenonatomicassign

The location longitude.


该类的文档由以下文件生成: