Stay organized with collections
Save and categorize content based on your preferences.
OnWakeupCompletedListener
interface OnWakeupCompletedListener
Listener that is notified when a wakeup has completed (either successfully, or with an error).
Summary
Public methods
|
abstract Unit |
Called when the wakeup is completed.
|
Public methods
onWakeupCompleted
abstract fun onWakeupCompleted(result: Int?): Unit
Called when the wakeup is completed.
Parameters |
result: Int? |
0 if the wakeup was successful, an error code otherwise. |
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."],[[["`OnWakeupCompletedListener` is an interface used to receive notifications about the completion of a wakeup process, whether successful or with an error."],["The `onWakeupCompleted()` method is called when the wakeup process is finished, providing a result code indicating success (0) or an error."]]],["The `OnWakeupCompletedListener` interface notifies when a wakeup process finishes. It has one method, `onWakeupCompleted`, which is invoked upon completion. This method receives an integer `result` parameter. A `0` signifies a successful wakeup, while any other integer value indicates an error. The listener is designed to inform the implementing component of the wakeup operation's outcome.\n"]]