CompletionListener
Known Indirect Subclasses
|
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.
[null,null,["Last updated 2024-10-31 UTC."],[[["`CompletionListener` is an interface specifically designed for handling `CompletionEvent` instances in Android's Drive API."],["It provides a single method, `onCompletion`, which is triggered when a `CompletionEvent` occurs, allowing developers to respond to the event."],["`DriveEventService` is a known indirect subclass that uses this listener to handle `DriveEvent` instances in a bound service."]]],["The `CompletionListener` interface handles `CompletionEvent` instances. It is a listener for completion events. The primary action is the `onCompletion` method, which receives a `CompletionEvent` as a parameter. `DriveEventService` is an indirect subclass, serving as an abstract base for a service that manages all `DriveEvent` types. The `DriveEventService` is also known to handle all `DriveEvent` instances.\n"]]