im::floo::floolib::BMXFileAttachment

消息文件附件

Inherits from im.floo.floolib.BMXMessageAttachment, BMXBaseObject

Inherited by im.floo.floolib.BMXImageAttachment, im.floo.floolib.BMXVideoAttachment, im.floo.floolib.BMXVoiceAttachment

Public Functions

Name
synchronized void delete()
BMXFileAttachment(String path, String displayName)
构造函数,构建发送文件消息附件
BMXFileAttachment(String path)
BMXFileAttachment(String ratelUrl, String displayName, long fileLength)
构造函数,构建接收文件消息附件
BMXMessageAttachment.Type type()
返回文件类型
BMXMessageAttachment clone()
克隆函数
String path()
本地路径
String displayName()
显示名
String ratelUrl()
String url()
远程URL
long fileLength()
文件长度
BMXMessageAttachment.DownloadStatus downloadStatus()
附件下载状态
BMXFileAttachment dynamic_cast(BMXMessageAttachment attachment)

Protected Functions

Name
BMXFileAttachment(long cPtr, boolean cMemoryOwn)
void finalize()
long getCPtr(BMXFileAttachment obj)

Additional inherited members

Protected Functions inherited from im.floo.floolib.BMXMessageAttachment

Name
BMXMessageAttachment(long cPtr, boolean cMemoryOwn)

Public Functions Documentation

function delete

inline synchronized void delete()

Reimplements: im::floo::floolib::BMXMessageAttachment::delete

Reimplemented by: im::floo::floolib::BMXImageAttachment::delete, im::floo::floolib::BMXVideoAttachment::delete, im::floo::floolib::BMXVoiceAttachment::delete

function BMXFileAttachment

inline BMXFileAttachment(
    String path,
    String displayName
)

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

Parameters:

  • path 文件的本地路径
  • displayName 文件展示名

function BMXFileAttachment

inline BMXFileAttachment(
    String path
)

function BMXFileAttachment

inline BMXFileAttachment(
    String ratelUrl,
    String displayName,
    long fileLength
)

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

Parameters:

  • ratelUrl ratel服务器地址
  • displayName 文件展示名
  • fileLength 文件大小

function type

inline BMXMessageAttachment.Type type()

返回文件类型

Return: Type

Reimplements: im::floo::floolib::BMXMessageAttachment::type

Reimplemented by: im::floo::floolib::BMXImageAttachment::type, im::floo::floolib::BMXVideoAttachment::type, im::floo::floolib::BMXVoiceAttachment::type

function clone

inline BMXMessageAttachment clone()

克隆函数

Return: BMXMessageAttachmentPtr

Reimplements: im::floo::floolib::BMXMessageAttachment::clone

Reimplemented by: im::floo::floolib::BMXImageAttachment::clone, im::floo::floolib::BMXVideoAttachment::clone, im::floo::floolib::BMXVoiceAttachment::clone

function path

inline String path()

本地路径

Return: std::string

function displayName

inline String displayName()

显示名

Return: std::string

function ratelUrl

inline String ratelUrl()

function url

inline String url()

远程URL

Return: std::string

function fileLength

inline long fileLength()

文件长度

Return: std::string

function downloadStatus

inline BMXMessageAttachment.DownloadStatus downloadStatus()

附件下载状态

Return: DownloadStatus

function dynamic_cast

static inline BMXFileAttachment dynamic_cast(
    BMXMessageAttachment attachment
)

Reimplemented by: im::floo::floolib::BMXImageAttachment::dynamic_cast, im::floo::floolib::BMXVideoAttachment::dynamic_cast, im::floo::floolib::BMXVoiceAttachment::dynamic_cast

Protected Functions Documentation

function BMXFileAttachment

inline BMXFileAttachment(
    long cPtr,
    boolean cMemoryOwn
)

function finalize

inline void finalize()

Reimplements: im::floo::floolib::BMXMessageAttachment::finalize

Reimplemented by: im::floo::floolib::BMXImageAttachment::finalize, im::floo::floolib::BMXVideoAttachment::finalize, im::floo::floolib::BMXVoiceAttachment::finalize

function getCPtr

static inline long getCPtr(
    BMXFileAttachment obj
)

Updated on 2022-01-26 at 17:18:31 +0800

© 2019-2022 美信拓扑 | 官网 该文件修订时间: 2022-03-07 03:07:24

results matching ""

    No results matching ""