BMXVoiceAttachment Class Reference

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

Overview

@interface 音频消息附件

Class Methods

dynamicCastWithAttachment:

消息附件强制转换为语音附件

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

Parameters

attachment
附件

Return Value

BMXVoiceAttachment

Declared In

  • floo_proxy.h

Instance Methods

Example:

clone

克隆函数

- (BMXMessageAttachment *)clone

Return Value

BMXMessageAttachment

Declared In

  • floo_proxy.h

Example:

dealloc

- (void)dealloc

Example:

duration

语音时长

- (int)duration

Return Value

int

Declared In

  • floo_proxy.h

Example:

initWithPath:duration:

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

Example:

initWithPath:duration:displayName:

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

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

Parameters

path
文件的本地路径

duration
音频时长

displayName
文件展示名

Declared In

  • floo_proxy.h

Example:

initWithRatelUrl:duration:displayName:fileLength:

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

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

Parameters

ratelUrl
ratel文件服务器地址

duration
音频时长

displayName
文件展示名

fileLength
文件大小

Declared In

  • floo_proxy.h

Example:

type

返回文件类型

- (BMXMessageAttachment_Type)type

Return Value

BMXMessageAttachment_Type

Declared In

  • floo_proxy.h

Example:

© 2019-2024 美信拓扑 | 官网 | 网站地图 该文件修订时间: 2024-09-26 03:17:35

results matching ""

    No results matching ""