Stay organized with collections
Save and categorize content based on your preferences.
EffectUpdateListener
public
interface
EffectUpdateListener
android.media.effect.EffectUpdateListener
|
Some effects may issue callbacks to inform the host of changes to the effect state. This is the
listener interface for receiving those callbacks.
Summary
Public methods
public abstract void onEffectUpdated (Effect effect,
Object info)
Called when the effect state is updated.
Parameters |
effect |
Effect : The effect that has been updated. |
info |
Object : A value that gives more information about the update. See the effect's
documentation for more details on what this object is. |
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# EffectUpdateListener\n\nAdded in [API level 14](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nEffectUpdateListener\n====================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/media/effect/EffectUpdateListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\n\n\ninterface\nEffectUpdateListener\n`\n\n\n`\n\n\n`\n\n|-------------------------------------------|\n| android.media.effect.EffectUpdateListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSome effects may issue callbacks to inform the host of changes to the effect state. This is the\nlistener interface for receiving those callbacks.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onEffectUpdated](/reference/android/media/effect/EffectUpdateListener#onEffectUpdated(android.media.effect.Effect,%20java.lang.Object))`(`[Effect](/reference/android/media/effect/Effect)` effect, `[Object](/reference/java/lang/Object)` info) ` Called when the effect state is updated. |\n\nPublic methods\n--------------\n\n### onEffectUpdated\n\nAdded in [API level 14](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onEffectUpdated (Effect effect, \n Object info)\n```\n\nCalled when the effect state is updated.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| `effect` | `Effect`: The effect that has been updated. \u003cbr /\u003e |\n| `info` | `Object`: A value that gives more information about the update. See the effect's documentation for more details on what this object is. \u003cbr /\u003e |"]]