Stay organized with collections
Save and categorize content based on your preferences.
Equalizer.OnParameterChangeListener
public
static
interface
Equalizer.OnParameterChangeListener
android.media.audiofx.Equalizer.OnParameterChangeListener
|
The OnParameterChangeListener interface defines a method called by the Equalizer when a
parameter value has changed.
Summary
Public methods |
abstract
void
|
onParameterChange(Equalizer effect, int status, int param1, int param2, int value)
Method called when a parameter value has changed.
|
Public methods
public abstract void onParameterChange (Equalizer effect,
int status,
int param1,
int param2,
int value)
Method called when a parameter value has changed. The method is called only if the
parameter was changed by another application having the control of the same
Equalizer engine.
Parameters |
effect |
Equalizer : the Equalizer on which the interface is registered. |
status |
int : status of the set parameter operation. |
param1 |
int : ID of the modified parameter. See Equalizer.PARAM_BAND_LEVEL ... |
param2 |
int : additional parameter qualifier (e.g the band for band level parameter). |
value |
int : the new parameter value. |
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,["# Equalizer.OnParameterChangeListener\n\nAdded in [API level 9](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nEqualizer.OnParameterChangeListener\n===================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/media/audiofx/Equalizer.OnParameterChangeListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nEqualizer.OnParameterChangeListener\n`\n\n\n`\n\n\n`\n\n|-----------------------------------------------------------|\n| android.media.audiofx.Equalizer.OnParameterChangeListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nThe OnParameterChangeListener interface defines a method called by the Equalizer when a\nparameter value has changed.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onParameterChange](/reference/android/media/audiofx/Equalizer.OnParameterChangeListener#onParameterChange(android.media.audiofx.Equalizer,%20int,%20int,%20int,%20int))`(`[Equalizer](/reference/android/media/audiofx/Equalizer)` effect, int status, int param1, int param2, int value) ` Method called when a parameter value has changed. |\n\nPublic methods\n--------------\n\n### onParameterChange\n\nAdded in [API level 9](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onParameterChange (Equalizer effect, \n int status, \n int param1, \n int param2, \n int value)\n```\n\nMethod called when a parameter value has changed. The method is called only if the\nparameter was changed by another application having the control of the same\nEqualizer engine.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `effect` | `Equalizer`: the Equalizer on which the interface is registered. \u003cbr /\u003e |\n| `status` | `int`: status of the set parameter operation. \u003cbr /\u003e |\n| `param1` | `int`: ID of the modified parameter. See [Equalizer.PARAM_BAND_LEVEL](/reference/android/media/audiofx/Equalizer#PARAM_BAND_LEVEL) ... \u003cbr /\u003e |\n| `param2` | `int`: additional parameter qualifier (e.g the band for band level parameter). \u003cbr /\u003e |\n| `value` | `int`: the new parameter value. \u003cbr /\u003e |"]]