PlatformStreams class
This class should be used for any type of native streams.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialised ↔ bool
-
getter/setter pair
-
onCompletion
→ Stream<
PlayerIdentifier< void> > -
no setter
-
onCurrentExtractedWaveformData
→ Stream<
PlayerIdentifier< List< >double> > -
no setter
-
onDurationChanged
→ Stream<
PlayerIdentifier< int> > -
no setter
-
onExtractionProgress
→ Stream<
PlayerIdentifier< double> > -
no setter
-
onPlayerStateChanged
→ Stream<
PlayerIdentifier< PlayerState> > -
no setter
-
playerControllerFactory
→ Map<
String, PlayerController> -
This holds all the newly created PlayerController instances and
the key to identify. it is a
Uniquekey created along with PlayerController.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addCompletionEvent(
PlayerIdentifier< void> event) → void -
addCurrentDurationEvent(
PlayerIdentifier< int> playerIdentifier) → void -
addExtractedWaveformDataEvent(
PlayerIdentifier< List< playerIdentifier) → voiddouble> > -
addExtractionProgress(
PlayerIdentifier< double> progress) → void -
addPlayerStateEvent(
PlayerIdentifier< PlayerState> playerIdentifier) → void -
dispose(
) → void -
init(
) → Future< void> - Initialises native method call handlers and stream. Should be called only once before dispose.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ PlatformStreams
-
getter/setter pair