AudioEvent class
Event emitted from the platform implementation.
- Annotations
Constructors
- AudioEvent({required AudioEventType eventType, Duration? duration, String? logMessage, bool? isPrepared})
-
Creates an instance of AudioEvent.
const
Properties
- duration → Duration?
-
Duration of the audio.
final
- eventType → AudioEventType
-
The type of the event.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isPrepared → bool?
-
Whether the source is prepared to be played.
final
- logMessage → String?
-
Log message in the player scope.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override