ChannelApi.OpenChannelResult
Stay organized with collections
Save and categorize content based on your preferences.
Public Method Summary
abstract Channel
|
getChannel()
Returns the newly created channel, or null , if the connection
couldn't be opened.
|
Inherited Method Summary
From interface com.google.android.gms.common.api.Result
Public Methods
public abstract Channel
getChannel ()
Returns the newly created channel, or null
, if the connection couldn't
be opened.
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."],[[["`ChannelApi.OpenChannelResult` is deprecated and you should use `ChannelClient.openChannel(String, String)` instead."],["It represents the result of opening a channel for communication between wearable devices."],["It provides access to the newly created `Channel` object or `null` if the connection failed."],["It inherits `getStatus()` from `Result` to check the status of the operation."]]],["`ChannelApi.OpenChannelResult` is a deprecated interface representing the result of opening a channel. It implements the `Result` interface. The key action is retrieving a channel via the `getChannel()` method. This method returns the newly created `Channel` object or `null` if the connection failed. The interface also provides access to a `Status` object through the inherited `getStatus()` method from the `Result` interface. The suggested replacement is `ChannelClient.openChannel`.\n"]]