BMXVideoAttachment Class Reference

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

Overview

@interface 视频消息附件

Class Methods

dynamicCastWithAttachment:

消息附件强制转换为视频附件

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

Parameters

attachment
附件

Return Value

BMXVideoAttachment

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:size:

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

Example:

initWithPath:duration:size:displayName:

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

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

Parameters

path
文件的本地路径

duration
视频片段时长

size
视频大小,宽度和高度

displayName
文件展示名

Declared In

  • floo_proxy.h

Example:

initWithPath:thumbnailPath:duration:size:

- (id)initWithPath:(NSString *)*path* thumbnailPath:(NSString *)*thumbnailPath* duration:(int)*duration* size:(BMXMessageAttachmentSize *)*size*

Example:

initWithPath:thumbnailPath:duration:size:displayName:

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

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

Parameters

path
文件的本地路径

thumbnailPath
缩略图文件的本地路径

duration
视频片段时长

size
视频大小,宽度和高度

displayName
文件展示名

Declared In

  • floo_proxy.h

Example:

initWithRatelUrl:duration:size:displayName:fileLength:

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

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

Parameters

ratelUrl
ratel文件服务器地址

duration
视频片段时长

size
视频大小,宽度和高度

displayName
文件展示名

fileLength
文件大小

Declared In

  • floo_proxy.h

Example:

initWithRatelUrl:thumbnailRatelUrl:duration:size:displayName:fileLength:

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

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

Parameters

ratelUrl
ratel文件服务器地址

thumbnailRatelUrl
缩略图ratel文件服务器地址

duration
视频片段时长

size
视频大小,宽度和高度

displayName
文件展示名

fileLength
文件大小

Declared In

  • floo_proxy.h

Example:

setThumbnail:

设置发送视频片段消息缩略图

- (void)setThumbnail:(NSString *)*path*

Parameters

path
视频片段消息缩略图

Declared In

  • floo_proxy.h

Example:

setThumbnailRatelUrl:

设置发送视频片段消息缩略图ratel服务器路径

- (void)setThumbnailRatelUrl:(NSString *)*thumbnailRatelUrl*

Parameters

thumbnailRatelUrl
视频片段消息缩略图服务器路径

Declared In

  • floo_proxy.h

Example:

size

视频大小,宽度和高度

- (BMXMessageAttachmentSize *)size

Return Value

BMXMessageAttachmentSize

Declared In

  • floo_proxy.h

Example:

thumbnailDownloadStatus

缩略图下载状态

- (BMXMessageAttachment_DownloadStatus)thumbnailDownloadStatus

Return Value

DownloadStatus

Declared In

  • floo_proxy.h

Example:

thumbnailPath

缩略图本地路径

- (NSString *)thumbnailPath

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

thumbnailRatelUrl

缩略图ratel服务器路径

- (NSString *)thumbnailRatelUrl

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

thumbnailUrl

远程缩略图使用URL

- (NSString *)thumbnailUrl

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

type

返回文件类型

- (BMXMessageAttachment_Type)type

Return Value

BMXMessageAttachment_Type

Declared In

  • floo_proxy.h

Example:

© 2019-2023 美信拓扑 | 官网 该文件修订时间: 2023-05-17 17:35:58

results matching ""

    No results matching ""