#include <v2_nim_utilities.hpp>
◆ imageThumbUrl()
获取图片缩略图
- 参数
-
url | 图片源地址 |
thumbSize | 缩略图尺寸,单位像素 |
- 返回
- nstd::string
- 示例代码
static nstd::string imageThumbUrl(const nstd::string &url, int32_t thumbSize)
获取图片缩略图
Definition: v2_nim_internal.hpp:240
◆ videoCoverUrl()
获取视频封面
- 参数
-
url | 视频源地址 |
offset | 视频封面偏移时间,单位秒 |
thumbSize | 封面尺寸,单位像素 |
type | 封面类型,如 png,jpeg |
- 返回
- nstd::string
- 示例代码
static nstd::string videoCoverUrl(const nstd::string &url, int32_t offset, int32_t thumbSize, const nstd::string &type)
获取视频封面
Definition: v2_nim_internal.hpp:243
该类的文档由以下文件生成:
- D:/GitLab/builds/7_aFT3sv/0/nim-pc/california/nim-cross-platform-sdk/exports/include/v2_nim_utilities.hpp
- D:/GitLab/builds/7_aFT3sv/0/nim-pc/california/nim-cross-platform-sdk/exports/include/v2_nim_internal.hpp