BMXFileAttachment Class Reference

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

Overview

@interface 消息文件附件

Class Methods

dynamicCastWithAttachment:

消息附件强制转换为文件附件

+ (BMXFileAttachment *)dynamicCastWithAttachment:(BMXMessageAttachment *)*attachment*

Parameters

attachment
附件

Return Value

BMXFileAttachment

Declared In

  • floo_proxy.h

Instance Methods

Example:

clone

- (BMXMessageAttachment *)clone

Example:

dealloc

- (void)dealloc

Example:

displayName

显示名

- (NSString *)displayName

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

downloadStatus

附件下载状态

- (BMXMessageAttachment_DownloadStatus)downloadStatus

Return Value

BMXMessageAttachment_DownloadStatus

Declared In

  • floo_proxy.h

Example:

fileLength

文件长度

- (long long)fileLength

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

initWithData:displayName:conversationId:

- (id)initWithData:(NSData *)*aData* displayName:(NSString *)*displayName* conversationId:(long long)*conversationId*

Example:

initWithPath:

- (id)initWithPath:(NSString *)*path*

Example:

initWithPath:displayName:

构造函数,构建发送文件消息附件

- (id)initWithPath:(NSString *)*path* displayName:(NSString *)*displayName*

Parameters

path
文件的本地路径

displayName
文件展示名

Declared In

  • floo_proxy.h

Example:

initWithRatelUrl:displayName:fileLength:

构造函数,构建接收文件消息附件

- (id)initWithRatelUrl:(NSString *)*ratelUrl* displayName:(NSString *)*displayName* fileLength:(long long)*fileLength*

Parameters

ratelUrl
ratel文件服务器地址

displayName
文件展示名

fileLength
文件大小

Declared In

  • floo_proxy.h

Example:

path

本地路径

- (NSString *)path

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

ratelUrl

远程ratel使用URL

- (NSString *)ratelUrl

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

type

返回文件类型

- (BMXMessageAttachment_Type)type

Return Value

BMXMessageAttachment_Type

Declared In

  • floo_proxy.h

Example:

url

远程使用URL

- (NSString *)url

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

© 2019-2024 美信拓扑 | 官网 | 网站地图 该文件修订时间: 2024-12-03 15:16:59

results matching ""

    No results matching ""