# PurchaseClient.ConnectionState

```
public static @interface PurchaseClient.ConnectionState
```

```
com.gaa.sdk.iap.PurchaseClient.ConnectionState
```

PurchaseClient 의 연결 상태 값.

## Constants <a href="#id-a-purchaseclient.connectionstate-constants" id="id-a-purchaseclient.connectionstate-constants"></a>

***

### CLOSED <a href="#id-a-purchaseclient.connectionstate-closed" id="id-a-purchaseclient.connectionstate-closed"></a>

```
int CLOSED
```

서비스의 연결이 이미 닫혔으므로 다시 사용하면 안됩니다.

Constant Value: 3

### CONNECTED <a href="#id-a-purchaseclient.connectionstate-connected" id="id-a-purchaseclient.connectionstate-connected"></a>

```
int CONNECTED
```

현재 서비스와 연결된 상태입니다.

Constant Value: 2

### CONNECTING <a href="#id-a-purchaseclient.connectionstate-connecting" id="id-a-purchaseclient.connectionstate-connecting"></a>

```
int CONNECTING
```

현재 서비스와 연결이 진행중인 상태입니다.

Constant Value: 1

### DISCONNECTED <a href="#id-a-purchaseclient.connectionstate-disconnected" id="id-a-purchaseclient.connectionstate-disconnected"></a>

```
int DISCONNECTED
```

서비스와의 연결이 끊어진 상태입니다.

Constant Value: 0


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://onestore-dev.gitbook.io/dev/tools/billing/v21/references/annotations/purchaseclient.connectionstate.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
