BMXFileAttachment Class Reference

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

Overview

@interface File attachment of messages

Class Methods

dynamicCastWithAttachment:

Type casting

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

Parameters

attachment
The attachment

Return Value

BMXFileAttachment

Declared In

  • floo_proxy.h

Instance Methods

Example:

clone

- (BMXMessageAttachment *)clone

Example:

dealloc

- (void)dealloc

Example:

displayName

Attachment name displayed in UI pages.

- (NSString *)displayName

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

downloadStatus

Download status

- (BMXMessageAttachment_DownloadStatus)downloadStatus

Return Value

BMXMessageAttachment_DownloadStatus

Declared In

  • floo_proxy.h

Example:

fileLength

File length

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

Constructor

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

Parameters

path
Local file path

displayName
Attachment name displayed in UI pages

Declared In

  • floo_proxy.h

Example:

initWithRatelUrl:displayName:fileLength:

Constructor

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

Parameters

ratelUrl
The file URL on REST server

displayName
Attachment name displayed in UI pages

fileLength
File length

Declared In

  • floo_proxy.h

Example:

path

Local file path

- (NSString *)path

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

ratelUrl

The file URL on REST server

- (NSString *)ratelUrl

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

type

Attachment type

- (BMXMessageAttachment_Type)type

Return Value

BMXMessageAttachment_Type

Declared In

  • floo_proxy.h

Example:

url

Http url

- (NSString *)url

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

© 2019-2024 MaximTop | Homepage | Site Map Last modified time: 2024-09-26 03:17:35

results matching ""

    No results matching ""