Stay organized with collections
Save and categorize content based on your preferences.
AudioEffect.OnEnableStatusChangeListener
public
static
interface
AudioEffect.OnEnableStatusChangeListener
android.media.audiofx.AudioEffect.OnEnableStatusChangeListener
|
The OnEnableStatusChangeListener interface defines a method called by the AudioEffect
when the enabled state of the effect engine was changed by the controlling application.
Summary
Public methods |
abstract
void
|
onEnableStatusChange(AudioEffect effect, boolean enabled)
Called on the listener to notify it that the effect engine has been
enabled or disabled.
|
Public methods
public abstract void onEnableStatusChange (AudioEffect effect,
boolean enabled)
Called on the listener to notify it that the effect engine has been
enabled or disabled.
Parameters |
effect |
AudioEffect : the effect on which the interface is registered. |
enabled |
boolean : new effect state. |
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,["# AudioEffect.OnEnableStatusChangeListener\n\nAdded in [API level 9](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nAudioEffect.OnEnableStatusChangeListener\n========================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/media/audiofx/AudioEffect.OnEnableStatusChangeListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nAudioEffect.OnEnableStatusChangeListener\n`\n\n\n`\n\n\n`\n\n|----------------------------------------------------------------|\n| android.media.audiofx.AudioEffect.OnEnableStatusChangeListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nThe OnEnableStatusChangeListener interface defines a method called by the AudioEffect\nwhen the enabled state of the effect engine was changed by the controlling application.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onEnableStatusChange](/reference/android/media/audiofx/AudioEffect.OnEnableStatusChangeListener#onEnableStatusChange(android.media.audiofx.AudioEffect,%20boolean))`(`[AudioEffect](/reference/android/media/audiofx/AudioEffect)` effect, boolean enabled) ` Called on the listener to notify it that the effect engine has been enabled or disabled. |\n\nPublic methods\n--------------\n\n### onEnableStatusChange\n\nAdded in [API level 9](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onEnableStatusChange (AudioEffect effect, \n boolean enabled)\n```\n\nCalled on the listener to notify it that the effect engine has been\nenabled or disabled.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|------------------------------------------------------------------------|\n| `effect` | `AudioEffect`: the effect on which the interface is registered. \u003cbr /\u003e |\n| `enabled` | `boolean`: new effect state. \u003cbr /\u003e |"]]