LANYINGDevelopers
Web & Mini ProgramiOSAndroidC++Server API

BMXLocationAttachment Class Reference#

Inherits from BMXMessageAttachment :
BMXBaseObject :
NSObject
Declared in floo_proxy.h

Overview#

@interface Location message attachment

Class Methods#

dynamicCastWithAttachment:#

Type casting

+ (BMXLocationAttachment )dynamicCastWithAttachment:(BMXMessageAttachment )attachment

Parameters#

attachment
The attachment

Return Value#

BMXLocationAttachment

Declared In#

  • floo_proxy.h

Instance Methods#


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="dynamicCastWithAttachment:" %}{% endlanying_code_snippet %}

address#

The address

- (NSString *)address

Return Value#

NSString

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="address" %}{% endlanying_code_snippet %}

clone#

Cloning function

- (BMXMessageAttachment *)clone

Return Value#

BMXMessageAttachment

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="clone" %}{% endlanying_code_snippet %}

dealloc#

- (void)dealloc


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="dealloc" %}{% endlanying_code_snippet %}

initWithLatitude:longitude:address:#

Constructor

- (id)initWithLatitude:(double)latitude longitude:(double)longitude address:(NSString )address*

Parameters#

latitude
Latitude

longitude
Longitude

address
Address name

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="initWithLatitude:longitude:address:" %}{% endlanying_code_snippet %}

latitude#

Latitude

- (double)latitude

Return Value#

double

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="latitude" %}{% endlanying_code_snippet %}

longitude#

Longitude

- (double)longitude

Return Value#

double

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="longitude" %}{% endlanying_code_snippet %}

type#

Attachment type

- (BMXMessageAttachment_Type)type

Return Value#

BMXMessageAttachment_Type

Declared In#

  • floo_proxy.h

Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="type" %}{% endlanying_code_snippet %}
Generated API content with concise AI notes where context helps.