TXMusicPlayObserver class

Constructors

TXMusicPlayObserver({required void onStart(int id, int errorCode), required void onPlayProgress(int id, int curPtsMSm, int durationMS), required void onComplete(int id, int errorCode)})

Properties

hashCode int
The hash code for this object.
no setterinherited
onComplete → void Function(int id, int errorCode)
Background Music Ended
final
onPlayProgress → void Function(int id, int curPtsMSm, int durationMS)
Playback progress of background music
final
onStart → void Function(int id, int errorCode)
Background Music Started
final
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
toString() String
A string representation of this object.
inherited

Operators

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