com.xunlei.downloadlib.parameter.XLTaskLocalUrl Java Examples

The following examples show how to use com.xunlei.downloadlib.parameter.XLTaskLocalUrl. 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 vote down vote up
public int getLocalUrl(String str, XLTaskLocalUrl xLTaskLocalUrl) {
    int i = 9900;
    increRefCount();
    if (!(mDownloadManagerState != XLManagerStatus.MANAGER_RUNNING || this.mLoader == null || xLTaskLocalUrl == null)) {
        i = this.mLoader.getLocalUrl(str, xLTaskLocalUrl);
    }
    decreRefCount();
    return i;
}
 
Example #2
Source File: XLDownloadManager.java    From BtPlayer with Apache License 2.0 5 votes vote down vote up
public int getLocalUrl(String str, XLTaskLocalUrl xLTaskLocalUrl) {
    int i = 9900;
    increRefCount();
    if (!(mDownloadManagerState != XLManagerStatus.MANAGER_RUNNING || this.mLoader == null || xLTaskLocalUrl == null)) {
        i = this.mLoader.getLocalUrl(str, xLTaskLocalUrl);
    }
    decreRefCount();
    return i;
}
 
Example #3
Source File: XLDownloadManager.java    From AndroidDownload with Apache License 2.0 5 votes vote down vote up
public int getLocalUrl(String str, XLTaskLocalUrl xLTaskLocalUrl) {
    int i = 9900;
    increRefCount();
    if (!(mDownloadManagerState != XLManagerStatus.MANAGER_RUNNING || this.mLoader == null || xLTaskLocalUrl == null)) {
        i = this.mLoader.getLocalUrl(str, xLTaskLocalUrl);
    }
    decreRefCount();
    return i;
}
 
Example #4
Source File: XLDownloadManager.java    From MiniThunder with Apache License 2.0 5 votes vote down vote up
public int getLocalUrl(String str, XLTaskLocalUrl xLTaskLocalUrl) {
    int i = 9900;
    increRefCount();
    if (!(mDownloadManagerState != XLManagerStatus.MANAGER_RUNNING || this.mLoader == null || xLTaskLocalUrl == null)) {
        i = this.mLoader.getLocalUrl(str, xLTaskLocalUrl);
    }
    decreRefCount();
    return i;
}
 
Example #5
Source File: XLTaskHelper.java    From TVRemoteIME with GNU General Public License v2.0 4 votes vote down vote up
/**
 * 获取某个文件的本地proxy url,如果是音视频文件可以实现变下边播
 * @param filePath
 * @return
 */
public synchronized String getLoclUrl(String filePath) {
    XLTaskLocalUrl localUrl = new XLTaskLocalUrl();
    XLDownloadManager.getInstance().getLocalUrl(filePath,localUrl);
    return localUrl.mStrUrl;
}
 
Example #6
Source File: XLTaskHelper.java    From BtPlayer with Apache License 2.0 4 votes vote down vote up
/**
 * 获取某个文件的本地proxy url,如果是音视频文件可以实现变下边播
 * @param filePath
 * @return
 */
public synchronized String getLoclUrl(String filePath) {
    XLTaskLocalUrl localUrl = new XLTaskLocalUrl();
    XLDownloadManager.getInstance().getLocalUrl(filePath,localUrl);
    return localUrl.mStrUrl;
}
 
Example #7
Source File: XLTaskHelper.java    From AndroidDownload with Apache License 2.0 4 votes vote down vote up
/**
 * 获取某个文件的本地proxy url,如果是音视频文件可以实现变下边播
 * @param filePath
 * @return
 */
public synchronized String getLoclUrl(String filePath) {
    XLTaskLocalUrl localUrl = new XLTaskLocalUrl();
    XLDownloadManager.getInstance().getLocalUrl(filePath,localUrl);
    return localUrl.mStrUrl;
}
 
Example #8
Source File: XLTaskHelper.java    From MiniThunder with Apache License 2.0 4 votes vote down vote up
/**
 * 获取某个文件的本地proxy url,如果是音视频文件可以实现变下边播
 * @param filePath
 * @return
 */
public synchronized String getLoclUrl(String filePath) {
    XLTaskLocalUrl localUrl = new XLTaskLocalUrl();
    XLDownloadManager.getInstance().getLocalUrl(filePath,localUrl);
    return localUrl.mStrUrl;
}
 
Example #9
Source File: XLLoader.java    From TVRemoteIME with GNU General Public License v2.0 votes vote down vote up
public native int getLocalUrl(String str, XLTaskLocalUrl xLTaskLocalUrl); 
Example #10
Source File: XLLoader.java    From BtPlayer with Apache License 2.0 votes vote down vote up
public native int getLocalUrl(String str, XLTaskLocalUrl xLTaskLocalUrl); 
Example #11
Source File: XLLoader.java    From AndroidDownload with Apache License 2.0 votes vote down vote up
public native int getLocalUrl(String str, XLTaskLocalUrl xLTaskLocalUrl); 
Example #12
Source File: XLLoader.java    From MiniThunder with Apache License 2.0 votes vote down vote up
public native int getLocalUrl(String str, XLTaskLocalUrl xLTaskLocalUrl);