Chat SDK for Unity and Windows v1.2.1
Public Member Functions | Public Attributes | List of all members
AgoraChat.MessageBody.LocationBody Class Reference
Inheritance diagram for AgoraChat.MessageBody.LocationBody:
AgoraChat.IMessageBody

Public Member Functions

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

Public Attributes

double Latitude
 
double Longitude
 
string Address
 
string BuildingName
 
- Public Attributes inherited from AgoraChat.IMessageBody
MessageBodyType Type
 

Additional Inherited Members

- Properties inherited from AgoraChat.IMessageBody
long OperationTime [get, set]
 
string OperatorId [get, set]
 
long OperationCount [get, set]
 

Detailed Description

The location message body.

Constructor & Destructor Documentation

◆ LocationBody()

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

The location message body constructor.

Parameters
latitudeThe latitude.
longitudeThe longitude.
addressThe address.
buildNameThe building name.

Member Data Documentation

◆ Latitude

double AgoraChat.MessageBody.LocationBody.Latitude

The latitude and longitude.

◆ Address

string AgoraChat.MessageBody.LocationBody.Address

The address.

◆ BuildingName

string AgoraChat.MessageBody.LocationBody.BuildingName

The building name.