com.xunlei.downloadlib.parameter.MaxDownloadSpeedParam Java Examples
The following examples show how to use
com.xunlei.downloadlib.parameter.MaxDownloadSpeedParam.
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 getMaxDownloadSpeed(MaxDownloadSpeedParam maxDownloadSpeedParam) { if (this.mLoader == null) { XLLog.e(TAG, "XLDownloadManager::getMaxDownloadSpeed mLoader is null"); return 9900; } int maxDownloadSpeed = this.mLoader.getMaxDownloadSpeed(maxDownloadSpeedParam); if (9000 != maxDownloadSpeed) { XLLog.e(TAG, "XLDownloadManager::getMaxDownloadSpeed end, ret=[" + maxDownloadSpeed + "]"); return maxDownloadSpeed; } XLLog.d(TAG, "XLDownloadManager::getMaxDownloadSpeed end, speed=[" + maxDownloadSpeedParam.mSpeed + "] ret=[" + maxDownloadSpeed + "]"); return maxDownloadSpeed; }
Example #2
Source File: XLDownloadManager.java From BtPlayer with Apache License 2.0 | 5 votes |
public int getMaxDownloadSpeed(MaxDownloadSpeedParam maxDownloadSpeedParam) { if (this.mLoader == null) { XLLog.e(TAG, "XLDownloadManager::getMaxDownloadSpeed mLoader is null"); return 9900; } int maxDownloadSpeed = this.mLoader.getMaxDownloadSpeed(maxDownloadSpeedParam); if (9000 != maxDownloadSpeed) { XLLog.e(TAG, "XLDownloadManager::getMaxDownloadSpeed end, ret=[" + maxDownloadSpeed + "]"); return maxDownloadSpeed; } XLLog.d(TAG, "XLDownloadManager::getMaxDownloadSpeed end, speed=[" + maxDownloadSpeedParam.mSpeed + "] ret=[" + maxDownloadSpeed + "]"); return maxDownloadSpeed; }
Example #3
Source File: XLDownloadManager.java From AndroidDownload with Apache License 2.0 | 5 votes |
public int getMaxDownloadSpeed(MaxDownloadSpeedParam maxDownloadSpeedParam) { if (this.mLoader == null) { XLLog.e(TAG, "XLDownloadManager::getMaxDownloadSpeed mLoader is null"); return 9900; } int maxDownloadSpeed = this.mLoader.getMaxDownloadSpeed(maxDownloadSpeedParam); if (9000 != maxDownloadSpeed) { XLLog.e(TAG, "XLDownloadManager::getMaxDownloadSpeed end, ret=[" + maxDownloadSpeed + "]"); return maxDownloadSpeed; } XLLog.d(TAG, "XLDownloadManager::getMaxDownloadSpeed end, speed=[" + maxDownloadSpeedParam.mSpeed + "] ret=[" + maxDownloadSpeed + "]"); return maxDownloadSpeed; }
Example #4
Source File: XLDownloadManager.java From MiniThunder with Apache License 2.0 | 5 votes |
public int getMaxDownloadSpeed(MaxDownloadSpeedParam maxDownloadSpeedParam) { if (this.mLoader == null) { XLLog.e(TAG, "XLDownloadManager::getMaxDownloadSpeed mLoader is null"); return 9900; } int maxDownloadSpeed = this.mLoader.getMaxDownloadSpeed(maxDownloadSpeedParam); if (9000 != maxDownloadSpeed) { XLLog.e(TAG, "XLDownloadManager::getMaxDownloadSpeed end, ret=[" + maxDownloadSpeed + "]"); return maxDownloadSpeed; } XLLog.d(TAG, "XLDownloadManager::getMaxDownloadSpeed end, speed=[" + maxDownloadSpeedParam.mSpeed + "] ret=[" + maxDownloadSpeed + "]"); return maxDownloadSpeed; }
Example #5
Source File: XLLoader.java From TVRemoteIME with GNU General Public License v2.0 | votes |
public native int getMaxDownloadSpeed(MaxDownloadSpeedParam maxDownloadSpeedParam);
Example #6
Source File: XLLoader.java From BtPlayer with Apache License 2.0 | votes |
public native int getMaxDownloadSpeed(MaxDownloadSpeedParam maxDownloadSpeedParam);
Example #7
Source File: XLLoader.java From AndroidDownload with Apache License 2.0 | votes |
public native int getMaxDownloadSpeed(MaxDownloadSpeedParam maxDownloadSpeedParam);
Example #8
Source File: XLLoader.java From MiniThunder with Apache License 2.0 | votes |
public native int getMaxDownloadSpeed(MaxDownloadSpeedParam maxDownloadSpeedParam);