DVMediaPlayerBackend class abstract interface

A platform player.

Properties

capabilities → DVMediaBackendCapabilities
no setter
events → Stream<DVMediaBackendEvent>
What happened. Subscribed once per attach; cancelled on dispose.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → Future<void>
Releases the decoder, the surface and anything else the player holds.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(DVMediaSource source, {Object? license}) → Future<void>
Loads source. license is whatever a DVDrmAdapter produced.
pause() → Future<void>
play() → Future<void>
seek(Duration position, int generation) → Future<void>
Moves to position. generation is echoed back on the DVMediaSeekCompleted that confirms it and on every DVMediaPosition after, which is how a report that was already in flight when the seek was issued is told apart from one that describes where playback now is.
setVolume(double volume) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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