Chat SDK for Unity and Windows v1.2.0
Public 成员函数 | Public 属性 | 所有成员列表
AgoraChat.MessageBody.LocationBody类 参考
类 AgoraChat.MessageBody.LocationBody 继承关系图:
AgoraChat.IMessageBody

Public 成员函数

 LocationBody (double latitude, double longitude, string address="", string buildName="")
 

Public 属性

double Latitude
 
double Longitude
 
string Address
 
string BuildingName
 
- Public 属性 继承自 AgoraChat.IMessageBody
MessageBodyType Type
 

额外继承的成员函数

- 属性 继承自 AgoraChat.IMessageBody
long OperationTime [get, set]
 
string OperatorId [get, set]
 
long OperationCount [get, set]
 

详细描述

位置消息体。

构造及析构函数说明

◆ LocationBody()

AgoraChat.MessageBody.LocationBody.LocationBody ( double  latitude,
double  longitude,
string  address = "",
string  buildName = "" 
)

位置消息体构造方法。

参数
latitude纬度。
longitude经度。
address地址信息。
buildName建筑物名称。

类成员变量说明

◆ Latitude

double AgoraChat.MessageBody.LocationBody.Latitude

经纬度坐标。

◆ Address

string AgoraChat.MessageBody.LocationBody.Address

地址信息。

◆ BuildingName

string AgoraChat.MessageBody.LocationBody.BuildingName

建筑物名称。