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.Mbc#pubctors) \| [Methods](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc#inhmethods)

# DynamicsProcessing.Mbc

*** ** * ** ***


`
public
static
final

class
DynamicsProcessing.Mbc
`


`


`

`


`

`

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.Mbc |

<br />

*** ** * ** ***

Class for Multi-Band Compressor (MBC) stage

## Summary

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

| ### Public methods ||
|---|---|
| ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.MbcBand` | ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc#getBand(int)(int band) ` Gets MbcBand object for band of interest. |
| ` void` | ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc#setBand(int,%20android.media.audiofx.DynamicsProcessing.MbcBand)(int band, https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.MbcBand bandCfg) ` Sets MbcBand object for given band index |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc#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

### Mbc

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

```
public Mbc (DynamicsProcessing.Mbc cfg)
```

Class constructor for MBC stage

<br />

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

### Mbc

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

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

Constructor for Multi-Band Compressor (MBC) stage

<br />

| Parameters ||
|---|---|
| `inUse` | `boolean`: true if MBC stage will be used, false otherwise. <br /> |
| `enabled` | `boolean`: true if MBC stage is enabled/disabled. This can be changed while effect is running <br /> |
| `bandCount` | `int`: number of bands for this MBC 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.MbcBand getBand (int band)
```

Gets MbcBand 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.MbcBand` | MbcBand 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.MbcBand bandCfg)
```

Sets MbcBand object for given band index

<br />

| Parameters ||
|---|---|
| `band` | `int`: index of band to be modified <br /> |
| `bandCfg` | `DynamicsProcessing.MbcBand`: MbcBand 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 /> |