Stay organized with collections
Save and categorize content based on your preferences.
BandStage
class BandStage : DynamicsProcessing.Stage
Base class for stages that hold bands
Summary
Public constructors |
Class constructor for BandStage
|
Public methods |
open Int |
gets number of bands held in this stage
|
open String |
|
Public constructors
BandStage
BandStage(
inUse: Boolean,
enabled: Boolean,
bandCount: Int)
Class constructor for BandStage
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. |
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. |
bandCount |
Int: number of bands this stage will handle. If stage is not inUse, bandcount is set to 0 |
Public methods
getBandCount
open fun getBandCount(): Int
gets number of bands held in this stage
Return |
Int |
number of bands held in this stage |
toString
open fun toString(): String
Return |
String |
a string representation of the object. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# DynamicsProcessing.BandStage\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nBandStage\n=========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/media/audiofx/DynamicsProcessing.BandStage \"View this page in Java\") \n\n```\nclass BandStage : DynamicsProcessing.Stage\n```\n\n|---|---|---------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [android.media.audiofx.DynamicsProcessing.Stage](/reference/kotlin/android/media/audiofx/DynamicsProcessing.Stage) ||\n| | ↳ | [android.media.audiofx.DynamicsProcessing.BandStage](#) |\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [DynamicsProcessing.Eq](/reference/kotlin/android/media/audiofx/DynamicsProcessing.Eq), [DynamicsProcessing.Mbc](/reference/kotlin/android/media/audiofx/DynamicsProcessing.Mbc) |------------------------------------------------------------------------------------------|---------------------------------------------| | [DynamicsProcessing.Eq](/reference/kotlin/android/media/audiofx/DynamicsProcessing.Eq) | Class for Equalizer stage | | [DynamicsProcessing.Mbc](/reference/kotlin/android/media/audiofx/DynamicsProcessing.Mbc) | Class for Multi-Band Compressor (MBC) stage | |\n\nBase class for stages that hold bands\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [BandStage](#BandStage(kotlin.Boolean,%20kotlin.Boolean,%20kotlin.Int))`(`inUse:` `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`, `enabled:` `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`, `bandCount:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Class constructor for BandStage |\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|\n| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getBandCount](#getBandCount())`()` gets number of bands held in this stage |\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [toString](#toString())`()` \u003cbr /\u003e |\n\n| Inherited functions ||\n|---|---|\n| From class [Stage](/reference/kotlin/android/media/audiofx/DynamicsProcessing.Stage) |------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [isEnabled](/reference/kotlin/android/media/audiofx/DynamicsProcessing.Stage#isEnabled())`()` returns enabled state of the stage \u003cbr /\u003e | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [isInUse](/reference/kotlin/android/media/audiofx/DynamicsProcessing.Stage#isInUse())`()` returns inUse state of the stage. \u003cbr /\u003e | | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [setEnabled](/reference/kotlin/android/media/audiofx/DynamicsProcessing.Stage#setEnabled(kotlin.Boolean))`(`enabled:` `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)` sets enabled state of the stage \u003cbr /\u003e | ||\n\nPublic constructors\n-------------------\n\n### BandStage\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nBandStage(\n inUse: Boolean, \n enabled: Boolean, \n bandCount: Int)\n```\n\nClass constructor for BandStage\n\n| Parameters ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `inUse` | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html): 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. |\n| `enabled` | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html): 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. |\n| `bandCount` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): number of bands this stage will handle. If stage is not inUse, bandcount is set to 0 |\n\nPublic methods\n--------------\n\n### getBandCount\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getBandCount(): Int\n```\n\ngets number of bands held in this stage\n\n| Return ||\n|----------------------------------------------------------------------------|------------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | number of bands held in this stage |\n\n### toString\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun toString(): String\n```\n\n| Return ||\n|----------------------------------------------------------------------------------|----------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | a string representation of the object. |"]]