Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Ctors](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq#pubctors) \| [Methods](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq#inhmethods)

# DynamicsProcessing.Eq

*** ** * ** ***

` public static final class DynamicsProcessing.Eq `   
` ` ` ` ` extends https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.BandStage ` ` `

|---|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||||
| ↳ | [android.media.audiofx.DynamicsProcessing.Stage](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Stage) |||
|   | ↳ | [android.media.audiofx.DynamicsProcessing.BandStage](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.BandStage) ||
|   |   | ↳ | android.media.audiofx.DynamicsProcessing.Eq |

<br />

*** ** * ** ***

Class for Equalizer stage

## Summary

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq#Eq(android.media.audiofx.DynamicsProcessing.Eq)(https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq cfg) ` Class constructor for Eq stage |
| ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq#Eq(boolean,%20boolean,%20int)(boolean inUse, boolean enabled, int bandCount) ` Class constructor for Equalizer (Eq) stage |

| ### Public methods ||
|---|---|
| ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand` | ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq#getBand(int)(int band) ` Gets EqBand object for band of interest. |
| ` void` | ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq#setBand(int,%20android.media.audiofx.DynamicsProcessing.EqBand)(int band, https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand bandCfg) ` Sets EqBand object for given band index |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq#toString()() ` Returns a string representation of the object. |

### Inherited methods

From class ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.BandStage ` ` int` ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.BandStage#getBandCount()() `

gets number of bands held in this stage
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.BandStage#toString()() `

Returns a string representation of the object.
From class ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Stage ` ` boolean` ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Stage#isEnabled()() `

returns enabled state of the stage
` boolean` ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Stage#isInUse()() `

returns inUse state of the stage.
` void` ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Stage#setEnabled(boolean)(boolean enabled) `

sets enabled state of the stage
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Stage#toString()() `

Returns a string representation of the object.
From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Public constructors

### Eq

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public Eq (DynamicsProcessing.Eq cfg)
```

Class constructor for Eq stage

<br />

| Parameters ||
|---|---|
| `cfg` | `DynamicsProcessing.Eq`: copy constructor <br /> |

### Eq

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public Eq (boolean inUse, 
                boolean enabled, 
                int bandCount)
```

Class constructor for Equalizer (Eq) stage

<br />

| Parameters ||
|---|---|
| `inUse` | `boolean`: true if Eq stage will be used, false otherwise. <br /> |
| `enabled` | `boolean`: true if Eq stage is enabled/disabled. This can be changed while effect is running <br /> |
| `bandCount` | `int`: number of bands for this Equalizer stage. Can't be changed while effect is running <br /> |

## Public methods

### getBand

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public DynamicsProcessing.EqBand getBand (int band)
```

Gets EqBand object for band of interest.

<br />

| Parameters ||
|---|---|
| `band` | `int`: index of band of interest <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand` | EqBand Object <br /> |

### setBand

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void setBand (int band, 
                DynamicsProcessing.EqBand bandCfg)
```

Sets EqBand object for given band index

<br />

| Parameters ||
|---|---|
| `band` | `int`: index of band to be modified <br /> |
| `bandCfg` | `DynamicsProcessing.EqBand`: EqBand object. <br /> |

### toString

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String toString ()
```

Returns a string representation of the object.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | a string representation of the object. <br /> |