com.xunlei.downloadlib.parameter.CIDTaskParam Java Examples
The following examples show how to use
com.xunlei.downloadlib.parameter.CIDTaskParam.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: XLDownloadManager.java From TVRemoteIME with GNU General Public License v2.0 | 5 votes |
public int createCIDTask(CIDTaskParam cIDTaskParam, GetTaskId getTaskId) { int i = 9900; if (!(cIDTaskParam == null || getTaskId == null || !cIDTaskParam.checkMemberVar())) { increRefCount(); if (mDownloadManagerState == XLManagerStatus.MANAGER_RUNNING && this.mLoader != null) { i = this.mLoader.createCIDTask(cIDTaskParam.mCid, cIDTaskParam.mGcid, cIDTaskParam.mBcid, cIDTaskParam.mFilePath, cIDTaskParam.mFileName, cIDTaskParam.mFileSize, cIDTaskParam.mCreateMode, cIDTaskParam.mSeqId, getTaskId); } decreRefCount(); } return i; }
Example #2
Source File: XLDownloadManager.java From BtPlayer with Apache License 2.0 | 5 votes |
public int createCIDTask(CIDTaskParam cIDTaskParam, GetTaskId getTaskId) { int i = 9900; if (!(cIDTaskParam == null || getTaskId == null || !cIDTaskParam.checkMemberVar())) { increRefCount(); if (mDownloadManagerState == XLManagerStatus.MANAGER_RUNNING && this.mLoader != null) { i = this.mLoader.createCIDTask(cIDTaskParam.mCid, cIDTaskParam.mGcid, cIDTaskParam.mBcid, cIDTaskParam.mFilePath, cIDTaskParam.mFileName, cIDTaskParam.mFileSize, cIDTaskParam.mCreateMode, cIDTaskParam.mSeqId, getTaskId); } decreRefCount(); } return i; }
Example #3
Source File: XLDownloadManager.java From AndroidDownload with Apache License 2.0 | 5 votes |
public int createCIDTask(CIDTaskParam cIDTaskParam, GetTaskId getTaskId) { int i = 9900; if (!(cIDTaskParam == null || getTaskId == null || !cIDTaskParam.checkMemberVar())) { increRefCount(); if (mDownloadManagerState == XLManagerStatus.MANAGER_RUNNING && this.mLoader != null) { i = this.mLoader.createCIDTask(cIDTaskParam.mCid, cIDTaskParam.mGcid, cIDTaskParam.mBcid, cIDTaskParam.mFilePath, cIDTaskParam.mFileName, cIDTaskParam.mFileSize, cIDTaskParam.mCreateMode, cIDTaskParam.mSeqId, getTaskId); } decreRefCount(); } return i; }
Example #4
Source File: XLDownloadManager.java From MiniThunder with Apache License 2.0 | 5 votes |
public int createCIDTask(CIDTaskParam cIDTaskParam, GetTaskId getTaskId) { int i = 9900; if (!(cIDTaskParam == null || getTaskId == null || !cIDTaskParam.checkMemberVar())) { increRefCount(); if (mDownloadManagerState == XLManagerStatus.MANAGER_RUNNING && this.mLoader != null) { i = this.mLoader.createCIDTask(cIDTaskParam.mCid, cIDTaskParam.mGcid, cIDTaskParam.mBcid, cIDTaskParam.mFilePath, cIDTaskParam.mFileName, cIDTaskParam.mFileSize, cIDTaskParam.mCreateMode, cIDTaskParam.mSeqId, getTaskId); } decreRefCount(); } return i; }