Request

public struct Request : Codable

Undocumented

  • drive id

    Declaration

    Swift

    public let drive_id: String
  • file_id

    Declaration

    Swift

    public let file_id: String
  • live_transcoding 边转边播

    Declaration

    Swift

    public let category: String
  • 默认true

    Declaration

    Swift

    public let get_subtitle_info: Bool?
  • 默认所有类型,枚举 LD|SD|HD|FHD|QHD

    Declaration

    Swift

    public let template_id: String?
  • 单位秒,最长4小时,默认15分钟。

    Declaration

    Swift

    public let url_expire_sec: Int?
  • 默认fale,为true,仅会员可以查看所有内容

    Declaration

    Swift

    public let only_vip: Bool?
  • 是否获取视频的播放进度,默认为false

    Declaration

    Swift

    public let with_play_cursor: Bool?
  • Undocumented

    Declaration

    Swift

    public init(drive_id: String, file_id: String, category: String = "live_transcoding", get_subtitle_info: Bool? = nil, template_id: String? = nil, url_expire_sec: Int? = nil, only_vip: Bool? = nil, with_play_cursor: Bool? = nil)