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

# DynamicsProcessing.BandStage

*** ** * ** ***

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

|---|---|---|
| [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 |

Known direct subclasses [DynamicsProcessing.Eq](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq), [DynamicsProcessing.Mbc](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc) [DynamicsProcessing.Eq](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq) Class for Equalizer stage [DynamicsProcessing.Mbc](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc) Class for Multi-Band Compressor (MBC) stage   

*** ** * ** ***

Base class for stages that hold bands

## Summary

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

| ### Public methods ||
|---|---|
| ` 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. |

### Inherited methods

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

### BandStage

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

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

Class constructor for BandStage

<br />

| Parameters ||
|---|---|
| `inUse` | `boolean`: true if this stage is set to be used. False otherwise. Stages that are not set "inUse" at initialization time are not available to be used at any time. <br /> |
| `enabled` | `boolean`: true if this stage is currently used to process sound. When disabled, the stage is bypassed and the sound is copied unaltered from input to output. <br /> |
| `bandCount` | `int`: number of bands this stage will handle. If stage is not inUse, bandcount is set to 0 <br /> |

## Public methods

### getBandCount

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

```
public int getBandCount ()
```

gets number of bands held in this stage

<br />

| Returns ||
|---|---|
| `int` | number of bands held in this stage <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 /> |