CapabilityClient.OnCapabilityChangedListener
Stay organized with collections
Save and categorize content based on your preferences.
Listener for changes in the reachable nodes providing a capability.
Public Methods
public abstract void onCapabilityChanged (CapabilityInfo
capabilityInfo)
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."],[[["`CapabilityClient.OnCapabilityChangedListener` is an interface used for monitoring changes in the availability of capabilities on connected nodes in a Wear OS network."],["This listener provides a single method, `onCapabilityChanged`, which is triggered whenever the capabilities of a reachable node change, delivering a `CapabilityInfo` object containing details about the node and its capabilities."],["The `onCapabilityChanged` method is inherited from `CapabilityApi.CapabilityListener`, providing a consistent approach for handling capability changes across different Wear OS API versions."]]],[]]