AgoraChatSDK 1.2.0
Instance Methods | Properties | List of all members
AgoraChatLocationMessageBody Class Reference

#import <AgoraChatLocationMessageBody.h>

Inheritance diagram for AgoraChatLocationMessageBody:
AgoraChatMessageBody

Instance Methods

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

Properties

double latitude
 
double longitude
 
NSString *_Nullable address
 
NSString *_Nullable buildingName
 
- Properties inherited from AgoraChatMessageBody
AgoraChatMessageBodyType type
 
NSUInteger operationTime
 
NSString * operatorId
 
NSUInteger operatorCount
 

Detailed Description

@header AgoraChatLocationMessageBody.h @abstract Location message body

Author
Hyphenate
Version
3.00 The location message body.

Method Documentation

◆ initWithLatitude:longitude:address:

- (instancetype _Nonnull) initWithLatitude: (double)  aLatitude
longitude: (double)  aLongitude
address: (NSString *_Nullable)  aAddress 

Initializes a location message body instance.

Parameters
aLatitudeThe latitude.
aLongitudeThe longitude.
aAddressThe address.
Returns
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

Parameters
aLatitudeLatitude
aLongitudeLongitude
aAddressAddress
aBuildingNameBuildingName
Returns
Location message body instance

Property Documentation

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


The documentation for this class was generated from the following file: