产品动态
公告
API | 描述 |
构造函数。 | |
设置雪碧图地址。 | |
获取缩略图。 | |
释放资源,使用完毕调用,否则会造成内存泄露。 |
public TXImageSprite(Context context)
public void setVTTUrlAndImageUrls(String vttUrl, List<String> imagesUrl)
参数名 | 类型 | 描述 |
vttUrl | String | 雪碧图 web vtt 描述文件下载 URL。 |
imagesUrl | List<String> | 雪碧图图片下载 URL。 |
public Bitmap getThumbnail(float time)
参数名 | 类型 | 描述 |
time | float | 时间点,单位秒。 |
public void release()
文档反馈