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 %}