Added in API level 28

Eq


class Eq : DynamicsProcessing.BandStage

Class for Equalizer stage

Summary

Public constructors

Class constructor for Eq stage

Eq(inUse: Boolean, enabled: Boolean, bandCount: Int)

Class constructor for Equalizer (Eq) stage

Public methods
DynamicsProcessing.EqBand!
getBand(band: Int)

Gets EqBand object for band of interest.

Unit

Sets EqBand object for given band index

String

Inherited functions
Int getBandCount()

gets number of bands held in this stage

Boolean isEnabled()

returns enabled state of the stage

Boolean isInUse()

returns inUse state of the stage.

Unit setEnabled(enabled: Boolean)

sets enabled state of the stage

Public constructors

Eq

Added in API level 28
Eq(cfg: DynamicsProcessing.Eq!)

Class constructor for Eq stage

Parameters
cfg DynamicsProcessing.Eq!: copy constructor

Eq

Added in API level 28
Eq(
    inUse: Boolean,
    enabled: Boolean,
    bandCount: Int)

Class constructor for Equalizer (Eq) stage

Parameters
inUse Boolean: true if Eq stage will be used, false otherwise.
enabled Boolean: true if Eq stage is enabled/disabled. This can be changed while effect is running
bandCount Int: number of bands for this Equalizer stage. Can't be changed while effect is running

Public methods

getBand

Added in API level 28
fun getBand(band: Int): DynamicsProcessing.EqBand!

Gets EqBand object for band of interest.

Parameters
band Int: index of band of interest
Return
DynamicsProcessing.EqBand! EqBand Object

setBand

Added in API level 28
fun setBand(
    band: Int,
    bandCfg: DynamicsProcessing.EqBand!
): Unit

Sets EqBand object for given band index

Parameters
band Int: index of band to be modified
bandCfg DynamicsProcessing.EqBand!: EqBand object.

toString

Added in API level 28
fun toString(): String
Return
String a string representation of the object.