FijkValue class

FijkValue include the properties of a FijkPlayer which update not frequently.

To get the updated value of other frequently updated properties, add listener of the value stream. See

Annotations
  • @immutable

Constructors

FijkValue({@required bool prepared, @required bool completed, @required bool audioRenderStart, @required bool videoRenderStart, @required FijkState state, @required Size size, @required int rotate, @required Duration duration, @required bool fullScreen, @required FijkException exception})
A constructor requires all value.
const
FijkValue.uninitialized()
Construct FijkValue with uninitialized value
const

Properties

audioRenderStart → bool
Indicates if audio is started rendering [...]
final
completed → bool
Indicates if the player is completed [...]
final
duration → Duration
The current playback duration [...]
final
exception FijkException
final
fullScreen → bool
whether if player should be displayed in full screen mode
final
hashCode → int
The hash code for this object. [...]
read-only
prepared → bool
Indicates if the player is ready
final
rotate → int
The rotation degrees
final
size Size
The pixel size of current video [...]
final
state FijkState
Current state of the player
final
videoRenderStart → bool
Indicates if video is started rendering [...]
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyWith({bool prepared, bool completed, bool videoRenderStart, bool audioRenderStart, FijkState state, Size size, int rotate, Duration duration, bool fullScreen, FijkException exception}) FijkValue
Return new FijkValue which combines the old value and the assigned new value
toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]