UEqualizer class

Audio equalizer for a player (Android only; available is false elsewhere). final eq = UEqualizer(UAudio.controller); await eq.setBand(0, 3)

Constructors

UEqualizer(UMediaController controller)

Properties

controller → UMediaController
Controller to read or change it from code.
final
hashCode → int
The hash code for this object.
no setterinherited
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
read() → Future<UEqualizerState>
Reads the current equalizer state.
setBand(int index, double gainDb) → Future<void>
Sets one band's gain in dB.
setBassBoost(double strength) → Future<void>
Bass boost strength 0-1.
setEnabled(bool enabled) → Future<void>
Turns the equalizer on/off.
setLoudness(double gainDb) → Future<void>
Loudness gain in dB.
setPreset(String preset) → Future<void>
Applies a built-in preset by name.
setVirtualizer(double strength) → Future<void>
Virtual surround strength 0-1.
toString() → String
A string representation of this object.
inherited

Operators

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