Tabnine Logo
XLDownloadManager.getTaskInfo
Code IndexAdd Tabnine to your IDE (free)

How to use
getTaskInfo
method
in
com.xunlei.downloadlib.XLDownloadManager

Best Java code snippets using com.xunlei.downloadlib.XLDownloadManager.getTaskInfo (Showing top 3 results out of 315)

origin: kingthy/TVRemoteIME

/**
 * 获取任务详情, 包含当前状态,下载进度,下载速度,文件大小
 * mDownloadSize:已下载大小  mDownloadSpeed:下载速度 mFileSize:文件总大小 mTaskStatus:当前状态,0连接中1下载中 2下载完成 3失败 mAdditionalResDCDNSpeed DCDN加速 速度
 * @param taskId
 * @return
 */
public synchronized XLTaskInfo getTaskInfo(long taskId) {
  XLTaskInfo taskInfo = new XLTaskInfo();
  XLDownloadManager.getInstance().getTaskInfo(taskId,1,taskInfo);
  return taskInfo;
}
origin: roomanl/AndroidDownload

/**
 * 获取任务详情, 包含当前状态,下载进度,下载速度,文件大小
 * mDownloadSize:已下载大小  mDownloadSpeed:下载速度 mFileSize:文件总大小 mTaskStatus:当前状态,0连接中1下载中 2下载完成 3失败 mAdditionalResDCDNSpeed DCDN加速 速度
 * @param taskId
 * @return
 */
public synchronized XLTaskInfo getTaskInfo(long taskId) {
  XLTaskInfo taskInfo = new XLTaskInfo();
  XLDownloadManager.getInstance().getTaskInfo(taskId,1,taskInfo);
  return taskInfo;
}
origin: dtx525942103/MiniThunder

/**
 * 获取任务详情, 包含当前状态,下载进度,下载速度,文件大小
 * mDownloadSize:已下载大小  mDownloadSpeed:下载速度 mFileSize:文件总大小 mTaskStatus:当前状态,0连接中1下载中 2下载完成 3失败 mAdditionalResDCDNSpeed DCDN加速 速度
 * @param taskId
 * @return
 */
public synchronized XLTaskInfo getTaskInfo(long taskId) {
  XLTaskInfo taskInfo = new XLTaskInfo();
  XLDownloadManager.getInstance().getTaskInfo(taskId,1,taskInfo);
  return taskInfo;
}
com.xunlei.downloadlibXLDownloadManagergetTaskInfo

Popular methods of XLDownloadManager

  • <init>
  • createBtMagnetTask
  • createBtTask
  • createEmuleTask
  • createP2spTask
  • decreRefCount
  • doMonitorNetworkChange
  • getBtSubTaskInfo
  • getFileNameFromUrl
  • getGuid
  • getInstance
  • getLocalUrl
  • getInstance,
  • getLocalUrl,
  • getPeerid,
  • getTorrentInfo,
  • increRefCount,
  • init,
  • loadErrcodeString,
  • notifyNetWorkCarrier,
  • notifyNetWorkType

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • requestLocationUpdates (LocationManager)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JLabel (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now