SuperPlayerModel class

Constructors

SuperPlayerModel({int? appId, String? url, List<SuperPlayerURL>? multiURLs, int? playDefaultIndex, SuperPlayerVideoId? videoId, SuperPlayerVideoIdV2? videoIdV2, String? title})

Properties

appId int?
AppId 用于腾讯云点播 File ID 播放及腾讯云直播时移功能
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
multiURLs List<SuperPlayerURL>?
多码率视频 URL
getter/setter pair
playDefaultIndex int?
指定多码率情况下,默认播放的连接Index
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
视频文件名 (用于显示在UI层);使用file id播放,若未指定title,则使用FileId返回的Title;使用url播放需要指定title,否则title显示为空
getter/setter pair
url String?
直接使用URL播放
getter/setter pair
videoId SuperPlayerVideoId?
腾讯云点播 File ID 播放参数
getter/setter pair
videoIdV2 SuperPlayerVideoIdV2?
用于兼容旧版本(V2)腾讯云点播 File ID 播放参数(即将废弃,不推荐使用)
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited