public static UserlistTaskV2 newSyncUserlistsTask(UserlistTaskListener userlisttasklistener) { UserlistTaskV2 userlisttaskv2 = new UserlistTaskV2(); userlisttaskv2.mListener = new WeakReference(userlisttasklistener); MauLog.v("[UserlistTask]::[newSyncUserlistsTask]"); return userlisttaskv2; }
public static void execute(UserlistTaskV2 userlisttaskv2, String s, String s1) { if (userlisttaskv2 != null) { userlisttaskv2.execute(((Object []) (new String[] { s, s1 }))); } }
public static UserlistTaskV2 newAddToBookmarksTask(Asset asset, UserlistTaskListener userlisttasklistener) { UserlistTaskV2 userlisttaskv2 = new UserlistTaskV2(); userlisttaskv2.mAsset = asset; userlisttaskv2.mResumeTime = null; userlisttaskv2.mVideoId = null; userlisttaskv2.mType = Type.ADD_TO_BOOKMARKS; userlisttaskv2.mListener = new WeakReference(userlisttasklistener); MauLog.v("[UserlistTask]::[newAddToBookmarksTask]::[%s]", new Object[] { asset.id }); return userlisttaskv2; }
public static UserlistTaskV2 newAddToRecentlyWatchedTask(Asset asset, String s, int i, UserlistTaskListener userlisttasklistener) { UserlistTaskV2 userlisttaskv2 = new UserlistTaskV2(); userlisttaskv2.mAsset = asset; userlisttaskv2.mVideoId = s; userlisttaskv2.mType = Type.ADD_TO_RECENTLY_WATCHED; userlisttaskv2.mResumeTime = Integer.valueOf(i); userlisttaskv2.mListener = new WeakReference(userlisttasklistener); MauLog.v("[UserlistTask]::[newAddToRecentlyWatchedTask]::[%s]", new Object[] { asset.id }); return userlisttaskv2; }