TencentPlayerValue constructor
TencentPlayerValue({
- Duration duration = const Duration(),
- Duration position = const Duration(),
- Duration playable = const Duration(),
- bool isPlaying = false,
- String? errorDescription,
- Size? size,
- bool isLoading = false,
- int? netSpeed,
- int? fps = 0,
- double rate = 1.0,
- int bitrateIndex = 0,
- int orientation = 0,
- int degree = 0,
- int? eventCode,
Implementation
TencentPlayerValue({
this.duration = const Duration(),
this.position = const Duration(),
this.playable = const Duration(),
this.isPlaying = false,
this.errorDescription,
this.size,
this.isLoading = false,
this.netSpeed,
this.fps = 0,
this.rate = 1.0,
this.bitrateIndex = 0, //TODO 默认清晰度
this.orientation = 0,
this.degree = 0,
this.eventCode,
});