public class StickerRecentlyLocalPackage extends java.lang.Object implements StickerLocalPackage.StickerPackageDelegate
限定符和类型 | 类和说明 |
---|---|
static interface |
StickerRecentlyLocalPackage.StickerRecentlyLocalPackageDelegate |
限定符和类型 | 字段和说明 |
---|---|
static long |
RECENT_STICKER_CATID
最新分类id
|
限定符和类型 | 方法和说明 |
---|---|
void |
appendRecentStickerGroupId(long stickerGroupId)
追加最新下载的贴纸
|
java.util.List<StickerGroup> |
getStickerGroups()
获取最近下载的贴纸分类
|
void |
init() |
StickerCategory |
mergeCategoryies()
将所有最近下载的分类合并到一个分类
|
void |
onStickerPackageStatusChanged(StickerLocalPackage manager,
TuSdkDownloadItem item,
DownloadTaskStatus status)
StickerPackageDelegate
|
void |
removeStickerGroupId(long stickerGroupId)
删除groupId
|
void |
removeStickerPackageDelegate() |
void |
setDelegate(StickerRecentlyLocalPackage.StickerRecentlyLocalPackageDelegate mDelegate) |
static StickerRecentlyLocalPackage |
shared() |
public static final long RECENT_STICKER_CATID
public static StickerRecentlyLocalPackage shared()
public void init()
public void removeStickerPackageDelegate()
public void setDelegate(StickerRecentlyLocalPackage.StickerRecentlyLocalPackageDelegate mDelegate)
public StickerCategory mergeCategoryies()
public java.util.List<StickerGroup> getStickerGroups()
public void removeStickerGroupId(long stickerGroupId)
stickerGroupId
- public void appendRecentStickerGroupId(long stickerGroupId)
stickerGroupId
- public void onStickerPackageStatusChanged(StickerLocalPackage manager, TuSdkDownloadItem item, DownloadTaskStatus status)
onStickerPackageStatusChanged
在接口中 StickerLocalPackage.StickerPackageDelegate
manager
- 本地贴纸包item
- 下载对象status
- 下载状态