im::floo::floolib::BMXImageAttachment

图片消息附件

Inherits from im.floo.floolib.BMXFileAttachment, im.floo.floolib.BMXMessageAttachment, BMXBaseObject

Public Functions

Name
synchronized void delete()
BMXImageAttachment(String path, BMXMessageAttachment.Size size, String displayName)
构造函数,构建发送图片消息附件
BMXImageAttachment(String path, BMXMessageAttachment.Size size)
BMXImageAttachment(String ratelUrl, BMXMessageAttachment.Size size, String displayName, long fileLength)
构造函数,构建接收图片消息附件
BMXMessageAttachment.Type type()
返回图片附件类型
BMXMessageAttachment clone()
克隆函数
BMXMessageAttachment.Size size()
图片大小
String thumbnailUrl()
void setThumbnail(String path)
设置发送图片消息缩略图
String thumbnailPath()
缩略图本地路径
BMXMessageAttachment.DownloadStatus thumbnailDownloadStatus()
缩略图下载状态
BMXImageAttachment dynamic_cast(BMXMessageAttachment attachment)

Protected Functions

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

Additional inherited members

Public Functions inherited from im.floo.floolib.BMXFileAttachment

Name
BMXFileAttachment(String path, String displayName)
构造函数,构建发送文件消息附件
BMXFileAttachment(String path)
BMXFileAttachment(String ratelUrl, String displayName, long fileLength)
构造函数,构建接收文件消息附件
String path()
本地路径
String displayName()
显示名
String ratelUrl()
String url()
远程URL
long fileLength()
文件长度
BMXMessageAttachment.DownloadStatus downloadStatus()
附件下载状态

Protected Functions inherited from im.floo.floolib.BMXFileAttachment

Name
BMXFileAttachment(long cPtr, boolean cMemoryOwn)

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::BMXFileAttachment::delete

function BMXImageAttachment

inline BMXImageAttachment(
    String path,
    BMXMessageAttachment.Size size,
    String displayName
)

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

Parameters:

  • path 本地路径
  • size 图片的大小,宽度和高度
  • displayName 展示名

function BMXImageAttachment

inline BMXImageAttachment(
    String path,
    BMXMessageAttachment.Size size
)

function BMXImageAttachment

inline BMXImageAttachment(
    String ratelUrl,
    BMXMessageAttachment.Size size,
    String displayName,
    long fileLength
)

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

Parameters:

  • ratelUrl ratel服务器地址
  • size 图片的大小,宽度和高度
  • displayName 展示名
  • fileLength 文件大小

function type

inline BMXMessageAttachment.Type type()

返回图片附件类型

Return: Type

Reimplements: im::floo::floolib::BMXFileAttachment::type

function clone

inline BMXMessageAttachment clone()

克隆函数

Return: BMXMessageAttachmentPtr

Reimplements: im::floo::floolib::BMXFileAttachment::clone

function size

inline BMXMessageAttachment.Size size()

图片大小

Return: Size

function thumbnailUrl

inline String thumbnailUrl()

function setThumbnail

inline void setThumbnail(
    String path
)

设置发送图片消息缩略图

Parameters:

  • path 本地路径

function thumbnailPath

inline String thumbnailPath()

缩略图本地路径

Return: std::string

function thumbnailDownloadStatus

inline BMXMessageAttachment.DownloadStatus thumbnailDownloadStatus()

缩略图下载状态

Return: DownloadStatus

function dynamic_cast

static inline BMXImageAttachment dynamic_cast(
    BMXMessageAttachment attachment
)

Reimplements: im::floo::floolib::BMXFileAttachment::dynamic_cast

Protected Functions Documentation

function BMXImageAttachment

inline BMXImageAttachment(
    long cPtr,
    boolean cMemoryOwn
)

function finalize

inline void finalize()

Reimplements: im::floo::floolib::BMXFileAttachment::finalize

function getCPtr

static inline long getCPtr(
    BMXImageAttachment obj
)

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

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

results matching ""

    No results matching ""