ConnectionResolution
Public Constructor Summary
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Constructors
public ConnectionResolution (Status
status)
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."],[[["`ConnectionResolution` provides the result of a connection initiation attempt, indicating whether it was successful or rejected."],["It includes a `getStatus()` method to retrieve the status of the connection attempt, which can be `SUCCESS` or `STATUS_CONNECTION_REJECTED`."],["The class is used in conjunction with the `ConnectionLifecycleCallback.onConnectionInitiated()` method to handle connection outcomes."]]],["`ConnectionResolution` represents the outcome after a connection initiation. It's created using a `Status` object. The primary action is to retrieve the status of the response via `getStatus()`. Possible status values are `CommonStatusCodes.SUCCESS` indicating success, or `ConnectionsStatusCodes.STATUS_CONNECTION_REJECTED` signaling a connection refusal. It inherits several methods from `java.lang.Object` like `equals`, `hashCode`, and `toString`.\n"]]