OnChangeListener
Stay organized with collections
Save and categorize content based on your preferences.
Event listener interface that enables handling of ChangeEvent
.
Public Method Summary
abstract void
onChange
( ChangeEvent
event) A hook that is called when a new event
is available for
processing.
Public Methods
public abstract void
onChange
( ChangeEvent
event)
A hook that is called when a new event
is available for processing.
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\u003eOnChangeListener\u003c/code\u003e is an interface used for handling \u003ccode\u003eChangeEvent\u003c/code\u003e instances in Google Drive on Android.\u003c/p\u003e\n"],["\u003cp\u003eThe primary method, \u003ccode\u003eonChange\u003c/code\u003e, is triggered when a new \u003ccode\u003eChangeEvent\u003c/code\u003e is available, allowing developers to respond to changes in Drive data.\u003c/p\u003e\n"]]],[],null,["# OnChangeListener\n\npublic interface **OnChangeListener** \nEvent listener interface that enables handling of [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/OnChangeListener#onChange(com.google.android.gms.drive.events.ChangeEvent))([ChangeEvent](/android/reference/com/google/android/gms/drive/events/ChangeEvent) event) A hook that is called when a new `event` is available for processing. |\n\nPublic Methods\n--------------\n\n#### public abstract void **onChange** ([ChangeEvent](/android/reference/com/google/android/gms/drive/events/ChangeEvent) event)\n\nA hook that is called when a new `event` is available for processing."]]