TencentPlayerValue constructor

TencentPlayerValue({
  1. Duration duration = const Duration(),
  2. Duration position = const Duration(),
  3. Duration playable = const Duration(),
  4. bool isPlaying = false,
  5. String? errorDescription,
  6. Size? size,
  7. bool isLoading = false,
  8. int? netSpeed,
  9. double rate = 1.0,
  10. int bitrateIndex = 0,
  11. int orientation = 0,
  12. int degree = 0,
  13. 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.rate = 1.0,
  this.bitrateIndex = 0, //TODO 默认清晰度
  this.orientation = 0,
  this.degree = 0,
  this.eventCode,
});