LiteAVSDK
Tencent Cloud TRTC SDK, is a high availability components serving tens of thousands of enterprise customers, which is committed to helping you to minimize your research and development costs.
TXImageSprite

Data Structures

class  TXImageSprite
 

Detailed Description

The image sprite parsing tool.


Data Structure Documentation

◆ TXImageSprite

class TXImageSprite
+ Inheritance diagram for TXImageSprite:

Instance Methods

(void) - setVTTUrl:imageUrls:
 
(UIImage *) - getThumbnail:
 

Method Documentation

◆ getThumbnail:()

- (UIImage *) getThumbnail: (GLfloat)  time

This API is used to get a thumbnail.

Parameters
timeThe time point in seconds
Returns
If acquisition fails, nil will be returned.

◆ setVTTUrl:imageUrls:()

- (void) setVTTUrl: (NSURL *)  vttUrl
imageUrls: (NSArray< NSURL * > *)  images 

This API is used to set the image sprite URL.

Parameters
vttUrlThe VTT URL
imagesThe list of images in the image sprite