Added in API level 28

Eq


class Eq : DynamicsProcessing.BandStage
kotlin.Any
   ↳ android.media.audiofx.DynamicsProcessing.Stage
   ↳ android.media.audiofx.DynamicsProcessing.BandStage
   ↳ android.media.audiofx.DynamicsProcessing.Eq

Class for Equalizer stage

Summary

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

Class constructor for Equalizer (Eq) stage

Class constructor for 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

Public constructors

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

Eq

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

Class constructor for Eq stage

Parameters
cfg DynamicsProcessing.Eq!: copy constructor

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.