MediaKitPlayer class

Constructors

MediaKitPlayer({required Player mediaKit})

Properties

hashCode int
The hash code for this object.
no setterinherited
mediaKit ↔ Player
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → PlayerState
no setter
stream → PlayerStream
no setter

Methods

dispose() Future<void>
jumpTrack(int index) Future<void>
next() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openTracks(List<Media> mediaItems) Future<void>
pause() Future<void>
play() Future<void>
previous() Future<void>
seek(Duration position) Future<void>
setLoopMode(PlaylistMode mode) Future<void>
setPlaybackRate(double rate) Future<void>
setShuffleMode(bool shuffle) Future<void>
setVolume(double volume) Future<void>
skipBackwards(Duration offset) Future<void>
skipForwards(Duration offset) Future<void>
stop() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

zeroTime → const Duration