Stay organized with collections
Save and categorize content based on your preferences.
Virtualizer.OnParameterChangeListener
public
static
interface
Virtualizer.OnParameterChangeListener
android.media.audiofx.Virtualizer.OnParameterChangeListener
|
The OnParameterChangeListener interface defines a method called by the Virtualizer when a
parameter value has changed.
Summary
Public methods |
abstract
void
|
onParameterChange(Virtualizer effect, int status, int param, short value)
Method called when a parameter value has changed.
|
Public methods
public abstract void onParameterChange (Virtualizer effect,
int status,
int param,
short 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
Virtualizer engine.
Parameters |
effect |
Virtualizer : the Virtualizer on which the interface is registered. |
status |
int : status of the set parameter operation. |
param |
int : ID of the modified parameter. See Virtualizer.PARAM_STRENGTH ... |
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,["# Virtualizer.OnParameterChangeListener\n\nAdded in [API level 9](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nDeprecated in [API level\n35](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nVirtualizer.OnParameterChangeListener\n=====================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/media/audiofx/Virtualizer.OnParameterChangeListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nVirtualizer.OnParameterChangeListener\n`\n\n\n`\n\n\n`\n\n|-------------------------------------------------------------|\n| android.media.audiofx.Virtualizer.OnParameterChangeListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nThe OnParameterChangeListener interface defines a method called by the Virtualizer when a\nparameter value has changed.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onParameterChange](/reference/android/media/audiofx/Virtualizer.OnParameterChangeListener#onParameterChange(android.media.audiofx.Virtualizer,%20int,%20int,%20short))`(`[Virtualizer](/reference/android/media/audiofx/Virtualizer)` effect, int status, int param, short 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 (Virtualizer effect, \n int status, \n int param, \n short 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\nVirtualizer engine.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `effect` | `Virtualizer`: the Virtualizer on which the interface is registered. \u003cbr /\u003e |\n| `status` | `int`: status of the set parameter operation. \u003cbr /\u003e |\n| `param` | `int`: ID of the modified parameter. See [Virtualizer.PARAM_STRENGTH](/reference/android/media/audiofx/Virtualizer#PARAM_STRENGTH) ... \u003cbr /\u003e |\n| `value` | `short`: the new parameter value. \u003cbr /\u003e |"]]