Stay organized with collections
Save and categorize content based on your preferences.
OnParameterChangeListener
interface OnParameterChangeListener
The OnParameterChangeListener interface defines a method called by the PresetReverb when a parameter value has changed.
Summary
Public methods |
abstract Unit |
Method called when a parameter value has changed.
|
Public methods
onParameterChange
abstract fun onParameterChange(
effect: PresetReverb!,
status: Int,
param: Int,
value: Short
): Unit
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 PresetReverb engine.
Parameters |
effect |
PresetReverb!: the PresetReverb on which the interface is registered. |
status |
Int: status of the set parameter operation. |
param |
Int: ID of the modified parameter. See PARAM_PRESET ... |
value |
Short: 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,["# PresetReverb.OnParameterChangeListener\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nOnParameterChangeListener\n=========================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/media/audiofx/PresetReverb.OnParameterChangeListener \"View this page in Java\") \n\n```\ninterface OnParameterChangeListener\n```\n\n|-------------------------------------------------------------------|\n| [android.media.audiofx.PresetReverb.OnParameterChangeListener](#) |\n\nThe OnParameterChangeListener interface defines a method called by the PresetReverb 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.PresetReverb,%20kotlin.Int,%20kotlin.Int,%20kotlin.Short))`(`effect:` `[PresetReverb](/reference/kotlin/android/media/audiofx/PresetReverb)!`, `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: PresetReverb!, \n status: Int, \n param: Int, \n value: Short\n): Unit\n```\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 PresetReverb engine.\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `effect` | [PresetReverb](/reference/kotlin/android/media/audiofx/PresetReverb)!: the PresetReverb 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_PRESET](/reference/kotlin/android/media/audiofx/PresetReverb#PARAM_PRESET:kotlin.Int) ... |\n| `value` | [Short](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html): the new parameter value. |"]]