The image sprite parsing tool.
◆ com::tencent::rtmp::TXImageSprite
class com::tencent::rtmp::TXImageSprite |
◆ TXImageSprite()
◆ getThumbnail()
Bitmap getThumbnail |
( |
float |
time | ) |
|
|
inline |
This API is used to get a thumbnail.
- Parameters
-
time | The time point in seconds |
- Returns
- If acquisition fails,
null
will be returned.
◆ release()
The release
API must be called after use; otherwise, memory leaks will occur.
◆ setVTTUrlAndImageUrls()
void setVTTUrlAndImageUrls |
( |
String |
vttUrl, |
|
|
List< String > |
images |
|
) |
| |
|
inline |
This API is used to set the image sprite URL.
- Parameters
-
vttUrl | The VTT URL |
images | The list of images in the image sprite |