BMXLocationAttachment Class Reference#
Inherits from BMXMessageAttachment :
BMXBaseObject :
NSObject
Declared in floo_proxy.h
Overview#
@interface 位置消息附件
Class Methods#
dynamicCastWithAttachment:#
消息附件强制转换为位置附件
+ (BMXLocationAttachment )dynamicCastWithAttachment:(BMXMessageAttachment )attachment
Parameters#
attachment
附件
Return Value#
BMXLocationAttachment
Declared In#
floo_proxy.h
Instance Methods#
{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="dynamicCastWithAttachment:" %}{% endlanying_code_snippet %}
address#
地址
- (NSString *)address
Return Value#
NSString
Declared In#
floo_proxy.h
{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="address" %}{% endlanying_code_snippet %}
clone#
克隆函数
- (BMXMessageAttachment *)clone
Return Value#
Declared In#
floo_proxy.h
{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="clone" %}{% endlanying_code_snippet %}
dealloc#
- (void)dealloc
{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="dealloc" %}{% endlanying_code_snippet %}
initWithLatitude:longitude:address:#
构造函数
- (id)initWithLatitude:(double)latitude longitude:(double)longitude address:(NSString )address*
Parameters#
latitude
纬度
longitude
经度
address
地址名称
Declared In#
floo_proxy.h
{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="initWithLatitude:longitude:address:" %}{% endlanying_code_snippet %}
latitude#
纬度
- (double)latitude
Return Value#
double
Declared In#
floo_proxy.h
{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="latitude" %}{% endlanying_code_snippet %}
longitude#
经度
- (double)longitude
Return Value#
double
Declared In#
floo_proxy.h
{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="longitude" %}{% endlanying_code_snippet %}
type#
返回位置附件类型
- (BMXMessageAttachment_Type)type
Return Value#
Declared In#
floo_proxy.h
Example:
{% lanying_code_snippet repo="lanying-im-ios",class="BMXLocationAttachment",function="type" %}{% endlanying_code_snippet %}