TencentPlayerValue class

Constructors

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})

Properties

aspectRatio → double
no setter
bitrateIndex → int
final
degree → int
final
duration → Duration
final
errorDescription → String?
final
eventCode → int?
final
fps → int?
final
hasError → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
initialized → bool
no setter
isLoading → bool
final
isPlaying → bool
final
netSpeed → int?
final
orientation → int
final
playable → Duration
final
position → Duration
final
rate → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → Size?
final

Methods

copyWith({Duration? duration, Duration? position, Duration? playable, bool? isPlaying, String? errorDescription, Size? size, bool? isLoading, int? netSpeed, int? fps, double? rate, int? bitrateIndex, int? orientation, int? degree, int? eventCode}) → TencentPlayerValue
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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