mirror of https://github.com/FongMi/TV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
32 lines
1.1 KiB
package com.fongmi.android.tv;
|
|
|
|
public class Constant {
|
|
//快進時間單位
|
|
public static final int INTERVAL_SEEK = 10 * 1000;
|
|
//控件隱藏時間
|
|
public static final int INTERVAL_HIDE = 5 * 1000;
|
|
//網路偵測間隔
|
|
public static final int INTERVAL_TRAFFIC = 500;
|
|
//點播爬蟲時間
|
|
public static final int TIMEOUT_VOD = 30 * 1000;
|
|
//直播爬蟲時間
|
|
public static final int TIMEOUT_LIVE = 30 * 1000;
|
|
//節目爬蟲時間
|
|
public static final int TIMEOUT_EPG = 5 * 1000;
|
|
//節目爬蟲時間
|
|
public static final int TIMEOUT_XML = 15 * 1000;
|
|
//播放超時時間
|
|
public static final int TIMEOUT_PLAY = 15 * 1000;
|
|
//解析預設時間
|
|
public static final int TIMEOUT_PARSE_DEF = 15 * 1000;
|
|
//嗅探超時時間
|
|
public static final int TIMEOUT_PARSE_WEB = 15 * 1000;
|
|
//直播解析時間
|
|
public static final int TIMEOUT_PARSE_LIVE = 10 * 1000;
|
|
//同步超時時間
|
|
public static final int TIMEOUT_SYNC = 2 * 1000;
|
|
//传送超時時間
|
|
public static final int TIMEOUT_TRANSMIT = 60 * 1000;
|
|
//搜尋線程數量
|
|
public static final int THREAD_POOL = 5;
|
|
}
|
|
|