LANYINGDevelopers
Web & Mini ProgramiOSAndroidC++Server API

BMXVideoAttachment Class Reference#

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

Overview#

@interface Video message attachment

Class Methods#

dynamicCastWithAttachment:#

Type casting

+ (BMXVideoAttachment )dynamicCastWithAttachment:(BMXMessageAttachment )attachment

Parameters#

attachment
The attachment

Return Value#

BMXVideoAttachment

Declared In#

  • floo_proxy.h

Instance Methods#


Example:

clone#

Cloning function

- (BMXMessageAttachment *)clone

Return Value#

BMXMessageAttachment

Declared In#

  • floo_proxy.h


Example:

dealloc#

- (void)dealloc


Example:

duration#

Duration of the video

- (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:#

Constructor

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

Parameters#

path
Local file path

duration
Duration of the video

size
Width and height of the video

displayName
Attachment name displayed in UI pages

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

Constructor

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

Parameters#

path
Local file path

thumbnailPath
Local file path of thumbnail

duration
Duration of the video

size
Width and height of the video

displayName
Attachment name displayed in UI pages

Declared In#

  • floo_proxy.h


Example:

initWithRatelUrl:duration:size:displayName:fileLength:#

Constructor

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

Parameters#

ratelUrl
The file URL on REST server

duration
Duration of the video

size
Width and height of the video

displayName
Attachment name displayed in UI pages

fileLength
File length

Declared In#

  • floo_proxy.h


Example:

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

Constructor

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

Parameters#

ratelUrl
The file URL on REST server

thumbnailRatelUrl
The thumbnail URL on REST server

duration
Duration of the video

size
Width and height of the video

displayName
Attachment name displayed in UI pages

fileLength
File length

Declared In#

  • floo_proxy.h


Example:

setThumbnail:#

Set thumbnail of video

- (void)setThumbnail:(NSString )path*

Parameters#

path
Local file path

Declared In#

  • floo_proxy.h


Example:

setThumbnailRatelUrl:#

Set the thumbnail URL on REST server

- (void)setThumbnailRatelUrl:(NSString )thumbnailRatelUrl*

Parameters#

thumbnailRatelUrl
The thumbnail URL on REST server

Declared In#

  • floo_proxy.h


Example:

size#

Width and height of the video

- (BMXMessageAttachmentSize *)size

Return Value#

BMXMessageAttachmentSize

Declared In#

  • floo_proxy.h


Example:

thumbnailDownloadStatus#

Download status of thumbnail

- (BMXMessageAttachment_DownloadStatus)thumbnailDownloadStatus

Return Value#

DownloadStatus

Declared In#

  • floo_proxy.h


Example:

thumbnailPath#

Local file path of thumbnail

- (NSString *)thumbnailPath

Return Value#

NSString

Declared In#

  • floo_proxy.h


Example:

thumbnailRatelUrl#

The thumbnail URL on REST server

- (NSString *)thumbnailRatelUrl

Return Value#

NSString

Declared In#

  • floo_proxy.h


Example:

thumbnailUrl#

The thumbnail URL on HTTP server

- (NSString *)thumbnailUrl

Return Value#

NSString

Declared In#

  • floo_proxy.h


Example:

type#

Attachment type

- (BMXMessageAttachment_Type)type

Return Value#

BMXMessageAttachment_Type

Declared In#

  • floo_proxy.h
Generated API content with concise AI notes where context helps.