Agora C++ API Reference for All Platforms
agora::rtc::ThumbImageBuffer Struct Reference

#include <IAgoraRtcEngine.h>

Public Member Functions

 ThumbImageBuffer ()
 

Public Attributes

const char * buffer
 
unsigned int length
 
unsigned int width
 
unsigned int height
 

Detailed Description

The image content of the thumbnail or icon.

Since
v3.5.2
Note
The default image is in the RGBA format. If you need to use another format, you need to convert the image on your own.

Constructor & Destructor Documentation

◆ ThumbImageBuffer()

agora::rtc::ThumbImageBuffer::ThumbImageBuffer ( )
inline

Member Data Documentation

◆ buffer

const char* agora::rtc::ThumbImageBuffer::buffer

The buffer of the thumbnail or icon.

◆ length

unsigned int agora::rtc::ThumbImageBuffer::length

The buffer length (bytes) of the thumbnail or icon.

◆ width

unsigned int agora::rtc::ThumbImageBuffer::width

The actual width (px) of the thumbnail or icon.

◆ height

unsigned int agora::rtc::ThumbImageBuffer::height

The actual height (px) of the thumbnail or icon.