FreeSecs

data class FreeSecs(var default: Int?, var regions4: List<String>? = null, var regions8: List<String>? = null)

免费云存视频秒数 freeSecs: {"default": 4/8, "eight": "us,uk,ca", "four": "cn"}

Constructors

Link copied to clipboard
constructor(raw: String)

从字符串解析FreeSecs

constructor(default: Int?, regions4: List<String>? = null, regions8: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var default: Int?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun secsOf(region: String): Int

根据地区返回支持的秒数, 没有配置时默认4