NativeAudio class

Constructors

NativeAudio()

Properties

hashCode int
The hash code for this object.
no setterinherited
onCompleted Function?
getter/setter pair
onLoaded ↔ (dynamic Function(Duration totalDuration, bool startedAutomatically)?)
getter/setter pair
onPaused ↔ (dynamic Function()?)
getter/setter pair
onProgressChanged ↔ (dynamic Function(Duration)?)
getter/setter pair
onResumed ↔ (dynamic Function()?)
getter/setter pair
onStopped ↔ (dynamic Function()?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
play(String url, {bool startAutomatically = true, bool isLocal = false, String? title, String? artist, String? album, String? imageUrl, Duration? startFrom}) → void
release() → void
resume() → void
seekTo(Duration time) → void
setSkipTime({required Duration forwardTime, required Duration backwardTime}) → void
skipBackward() → void
skipForward() → void
stop() → void
toString() String
A string representation of this object.
inherited

Operators

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