|
| 1 | +<!DOCTYPE HTML> |
| 2 | +<html lang> |
| 3 | +<head> |
| 4 | +<!-- Generated by javadoc (17) on Thu Feb 05 22:16:16 UTC 2026 --> |
| 5 | +<title>Uses of Enum Class com.github.copilot.sdk.ConnectionState (GitHub Copilot Community SDK :: Java 1.0.7 API)</title> |
| 6 | +<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 8 | +<meta name="dc.created" content="2026-02-05"> |
| 9 | +<meta name="description" content="use: package: com.github.copilot.sdk, enum: ConnectionState"> |
| 10 | +<meta name="generator" content="javadoc/ClassUseWriter"> |
| 11 | +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| 12 | +<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style"> |
| 13 | +<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> |
| 14 | +<script type="text/javascript" src="../../../../../script.js"></script> |
| 15 | +<script type="text/javascript" src="../../../../../script-dir/jquery-3.7.1.min.js"></script> |
| 16 | +<script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script> |
| 17 | +</head> |
| 18 | +<body class="class-use-page"> |
| 19 | +<script type="text/javascript">var pathtoroot = "../../../../../"; |
| 20 | +loadScripts(document, 'script');</script> |
| 21 | +<noscript> |
| 22 | +<div>JavaScript is disabled on your browser.</div> |
| 23 | +</noscript> |
| 24 | +<div class="flex-box"> |
| 25 | +<header role="banner" class="flex-header"> |
| 26 | +<nav role="navigation"> |
| 27 | +<!-- ========= START OF TOP NAVBAR ======= --> |
| 28 | +<div class="top-nav" id="navbar-top"> |
| 29 | +<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| 30 | +<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| 31 | +<li><a href="../../../../../index.html">Overview</a></li> |
| 32 | +<li><a href="../package-summary.html">Package</a></li> |
| 33 | +<li><a href="../ConnectionState.html" title="enum class in com.github.copilot.sdk">Class</a></li> |
| 34 | +<li class="nav-bar-cell1-rev">Use</li> |
| 35 | +<li><a href="../package-tree.html">Tree</a></li> |
| 36 | +<li><a href="../../../../../index-all.html">Index</a></li> |
| 37 | +</ul> |
| 38 | +</div> |
| 39 | +<div class="sub-nav"> |
| 40 | +<div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| 41 | +<input type="text" id="search-input" value="search" disabled="disabled"> |
| 42 | +<input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| 43 | +</div> |
| 44 | +</div> |
| 45 | +<!-- ========= END OF TOP NAVBAR ========= --> |
| 46 | +<span class="skip-nav" id="skip-navbar-top"></span></nav> |
| 47 | +</header> |
| 48 | +<div class="flex-content"> |
| 49 | +<main role="main"> |
| 50 | +<div class="header"> |
| 51 | +<h1 title="Uses of Enum Class com.github.copilot.sdk.ConnectionState" class="title">Uses of Enum Class<br>com.github.copilot.sdk.ConnectionState</h1> |
| 52 | +</div> |
| 53 | +<div class="caption"><span>Packages that use <a href="../ConnectionState.html" title="enum class in com.github.copilot.sdk">ConnectionState</a></span></div> |
| 54 | +<div class="summary-table two-column-summary"> |
| 55 | +<div class="table-header col-first">Package</div> |
| 56 | +<div class="table-header col-last">Description</div> |
| 57 | +<div class="col-first even-row-color"><a href="#com.github.copilot.sdk">com.github.copilot.sdk</a></div> |
| 58 | +<div class="col-last even-row-color"> |
| 59 | +<div class="block">Core classes for the GitHub Copilot SDK for Java.</div> |
| 60 | +</div> |
| 61 | +</div> |
| 62 | +<section class="class-uses"> |
| 63 | +<ul class="block-list"> |
| 64 | +<li> |
| 65 | +<section class="detail" id="com.github.copilot.sdk"> |
| 66 | +<h2>Uses of <a href="../ConnectionState.html" title="enum class in com.github.copilot.sdk">ConnectionState</a> in <a href="../package-summary.html">com.github.copilot.sdk</a></h2> |
| 67 | +<div class="caption"><span>Methods in <a href="../package-summary.html">com.github.copilot.sdk</a> that return <a href="../ConnectionState.html" title="enum class in com.github.copilot.sdk">ConnectionState</a></span></div> |
| 68 | +<div class="summary-table three-column-summary"> |
| 69 | +<div class="table-header col-first">Modifier and Type</div> |
| 70 | +<div class="table-header col-second">Method</div> |
| 71 | +<div class="table-header col-last">Description</div> |
| 72 | +<div class="col-first even-row-color"><code><a href="../ConnectionState.html" title="enum class in com.github.copilot.sdk">ConnectionState</a></code></div> |
| 73 | +<div class="col-second even-row-color"><span class="type-name-label">CopilotClient.</span><code><a href="../CopilotClient.html#getState()" class="member-name-link">getState</a>()</code></div> |
| 74 | +<div class="col-last even-row-color"> |
| 75 | +<div class="block">Gets the current connection state.</div> |
| 76 | +</div> |
| 77 | +<div class="col-first odd-row-color"><code>static <a href="../ConnectionState.html" title="enum class in com.github.copilot.sdk">ConnectionState</a></code></div> |
| 78 | +<div class="col-second odd-row-color"><span class="type-name-label">ConnectionState.</span><code><a href="../ConnectionState.html#valueOf(java.lang.String)" class="member-name-link">valueOf</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> name)</code></div> |
| 79 | +<div class="col-last odd-row-color"> |
| 80 | +<div class="block">Returns the enum constant of this class with the specified name.</div> |
| 81 | +</div> |
| 82 | +<div class="col-first even-row-color"><code>static <a href="../ConnectionState.html" title="enum class in com.github.copilot.sdk">ConnectionState</a>[]</code></div> |
| 83 | +<div class="col-second even-row-color"><span class="type-name-label">ConnectionState.</span><code><a href="../ConnectionState.html#values()" class="member-name-link">values</a>()</code></div> |
| 84 | +<div class="col-last even-row-color"> |
| 85 | +<div class="block">Returns an array containing the constants of this enum class, in |
| 86 | +the order they are declared.</div> |
| 87 | +</div> |
| 88 | +</div> |
| 89 | +</section> |
| 90 | +</li> |
| 91 | +</ul> |
| 92 | +</section> |
| 93 | +</main> |
| 94 | +<footer role="contentinfo"> |
| 95 | +<hr> |
| 96 | +<p class="legal-copy"><small>Copyright © 2026. All rights reserved.</small></p> |
| 97 | +</footer> |
| 98 | +</div> |
| 99 | +</div> |
| 100 | +</body> |
| 101 | +</html> |
0 commit comments