ChangeListener
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
Abstract base class for a bound service that
handles all DriveEvent
instances.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 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 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eChangeListener\u003c/code\u003e is an interface used for handling \u003ccode\u003eChangeEvent\u003c/code\u003e instances, especially in Drive services.\u003c/p\u003e\n"],["\u003cp\u003eThis interface is deprecated; use \u003ccode\u003eOnChangeListener\u003c/code\u003e instead for similar functionality.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eChangeListener\u003c/code\u003e includes the \u003ccode\u003eonChange\u003c/code\u003e method, which is triggered when a \u003ccode\u003eChangeEvent\u003c/code\u003e occurs.\u003c/p\u003e\n"],["\u003cp\u003eDriveEventService, a subclass of \u003ccode\u003eChangeListener\u003c/code\u003e, manages DriveEvent instances and serves as a foundation for handling drive events.\u003c/p\u003e\n"]]],[],null,["# ChangeListener\n\npublic interface **ChangeListener** \n\n|---|---|---|\n| Known Indirect Subclasses [DriveEventService](/android/reference/com/google/android/gms/drive/events/DriveEventService) |-----------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------| | [DriveEventService](/android/reference/com/google/android/gms/drive/events/DriveEventService) | Abstract base class for a bound service that handles all [DriveEvent](/android/reference/com/google/android/gms/drive/events/DriveEvent) instances. | |||\n\n**This interface was deprecated.** \n\nUse [OnChangeListener](/android/reference/com/google/android/gms/drive/events/OnChangeListener)\ninstead.\n\nEvent listener interface for [ChangeEvent](/android/reference/com/google/android/gms/drive/events/ChangeEvent). \n\n### Public Method Summary\n\n|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract void | [onChange](/android/reference/com/google/android/gms/drive/events/ChangeListener#onChange(com.google.android.gms.drive.events.ChangeEvent))([ChangeEvent](/android/reference/com/google/android/gms/drive/events/ChangeEvent) event) |\n\nPublic Methods\n--------------\n\n#### public abstract void **onChange** ([ChangeEvent](/android/reference/com/google/android/gms/drive/events/ChangeEvent) event)"]]