AgoraThumbImageBuffer Class Reference

Inherits from NSObject
Declared in AgoraObjects.h

Overview

The image content of the thumbnail or icon. (macOS only)

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.

  image

The NSImage of the thumbnail or icon.

@property (strong, nonatomic, readonly) NSImage *image

Declared In

AgoraObjects.h

  buffer

The buffer of the thumbnail or icon.

@property (copy, nonatomic) NSData *buffer

Declared In

AgoraObjects.h

  length

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

@property (assign, nonatomic) NSUInteger length

Declared In

AgoraObjects.h

  width

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

@property (assign, nonatomic) NSUInteger width

Declared In

AgoraObjects.h

  height

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

@property (assign, nonatomic) NSUInteger height

Declared In

AgoraObjects.h