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 Virtualizer engine.
Parameters
effect
Virtualizer!: the Virtualizer on which the interface is registered.
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,["# Virtualizer.OnParameterChangeListener\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nOnParameterChangeListener\n=========================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/media/audiofx/Virtualizer.OnParameterChangeListener \"View this page in Java\") \n\n```\ninterface OnParameterChangeListener\n```\n\n|------------------------------------------------------------------|\n| [android.media.audiofx.Virtualizer.OnParameterChangeListener](#) |\n\n*** ** * ** ***\n\n| **This interface was deprecated in API level 35.**\n|\n| Deprecated in Java.\n\nThe OnParameterChangeListener interface defines a method called by the Virtualizer when a parameter value has changed.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onParameterChange](#onParameterChange(android.media.audiofx.Virtualizer,%20kotlin.Int,%20kotlin.Int,%20kotlin.Short))`(`effect:` `[Virtualizer](/reference/kotlin/android/media/audiofx/Virtualizer)!`, `status:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `param:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `value:` `[Short](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html)`)` Method called when a parameter value has changed. |\n\nPublic methods\n--------------\n\n### onParameterChange\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun onParameterChange(\n effect: Virtualizer!, \n status: Int, \n param: Int, \n value: Short\n): Unit\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nMethod 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 Virtualizer engine.\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `effect` | [Virtualizer](/reference/kotlin/android/media/audiofx/Virtualizer)!: the Virtualizer on which the interface is registered. |\n| `status` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): status of the set parameter operation. |\n| `param` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): ID of the modified parameter. See [PARAM_STRENGTH](/reference/kotlin/android/media/audiofx/Virtualizer#PARAM_STRENGTH:kotlin.Int) ... |\n| `value` | [Short](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html): the new parameter value. |"]]