Added in API level 28
BandStage
class BandStage : DynamicsProcessing.Stage
kotlin.Any | ||
↳ | android.media.audiofx.DynamicsProcessing.Stage | |
↳ | android.media.audiofx.DynamicsProcessing.BandStage |
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 |
toString() |
Inherited functions | |
---|---|
Public constructors
BandStage
Added in API level 28
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
Added in API level 28
open fun getBandCount(): Int
gets number of bands held in this stage
Return | |
---|---|
Int |
number of bands held in this stage |
toString
Added in API level 28
open fun toString(): String
Return | |
---|---|
String |
a string representation of the object. |