Added in [version 34.1](https://developer.android.com/topic/libraries/support-library/revisions) Summary: [Fields](https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#lfields) \| [Methods](https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#inhmethods)

# Sdk.VERSION_CODES


`
public
static
final

class
Sdk.VERSION_CODES
`


`

extends Object


`

`


`

|---|---|
| java.lang.Object ||
| ↳ | com.google.wear.Sdk.VERSION_CODES |

<br />

*** ** * ** ***

The set of known Wear SDK version codes:

- `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_TIRAMISU_1`
- `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_TIRAMISU_2`
- `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_TIRAMISU_3`
- `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_TIRAMISU_4`
- `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_UDC_1`
- `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_VIC_1`
- `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_BAKLAVA_0`
- `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_BAKLAVA_1`
- `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_CINNAMON_BUN_0`

<br />

## Summary

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/com/google/wear/WearApiVersion` | `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_BAKLAVA_0` The first Wear API version released on the Android Baklava trunk_stable version (API level 36.0). |
| ` public static final https://developer.android.com/reference/com/google/wear/WearApiVersion` | `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_BAKLAVA_1` The first Wear API minor version released on the Android Baklava trunk_stable version (API level 36.1). |
| ` public static final https://developer.android.com/reference/com/google/wear/WearApiVersion` | `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_CINNAMON_BUN_0` The first Wear API version released on the Android Cinnamon Bun trunk_stable version (API level 37.0). |
| ` public static final https://developer.android.com/reference/com/google/wear/WearApiVersion` | `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_TIRAMISU_1` The first Wear API version released on the Android T platform version (API level 33). |
| ` public static final https://developer.android.com/reference/com/google/wear/WearApiVersion` | `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_TIRAMISU_2` The second Wear API version released on the Android T platform version (API level 33). |
| ` public static final https://developer.android.com/reference/com/google/wear/WearApiVersion` | `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_TIRAMISU_3` The third Wear API version released on the Android T platform version (API level 33). |
| ` public static final https://developer.android.com/reference/com/google/wear/WearApiVersion` | `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_TIRAMISU_4` The fourth Wear API version released on the Android T platform version (API level 33). |
| ` public static final https://developer.android.com/reference/com/google/wear/WearApiVersion` | `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_UDC_1` The first Wear API version released on the Android U platform version (API level 34). |
| ` public static final https://developer.android.com/reference/com/google/wear/WearApiVersion` | `https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#WEAR_VIC_1` The first Wear API version released on the Android V platform version (API level 35). |

| ### Public methods ||
|---|---|
| ` static https://developer.android.com/reference/com/google/wear/WearApiVersion` | ` https://developer.android.com/reference/com/google/wear/Sdk.VERSION_CODES#lookup(java.lang.String)(String requiredVersion) ` This method helps ensure that API versions exist when queried from a client that may be running on an older version of the platform prior to the introduction of the WearApiVersion corresponding to the given API level. |

| ### Inherited methods |
|---|---|
| From class ` java.lang.Object ` |---|---| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` 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() ` | ||

## Fields

### WEAR_BAKLAVA_0

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final WearApiVersion WEAR_BAKLAVA_0
```

The first Wear API version released on the Android Baklava trunk_stable version (API
level 36.0).

<br />

### WEAR_BAKLAVA_1

Added in [version 36.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final WearApiVersion WEAR_BAKLAVA_1
```

The first Wear API minor version released on the Android Baklava trunk_stable
version (API level 36.1).

<br />

### WEAR_CINNAMON_BUN_0

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final WearApiVersion WEAR_CINNAMON_BUN_0
```

The first Wear API version released on the Android Cinnamon Bun trunk_stable version (API
level 37.0).

<br />

### WEAR_TIRAMISU_1

Added in [version 34.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final WearApiVersion WEAR_TIRAMISU_1
```

The first Wear API version released on the Android T platform version (API level 33).

<br />

### WEAR_TIRAMISU_2

Added in [version 34.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final WearApiVersion WEAR_TIRAMISU_2
```

The second Wear API version released on the Android T platform version (API level 33).

<br />

### WEAR_TIRAMISU_3

Added in [version 34.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final WearApiVersion WEAR_TIRAMISU_3
```

The third Wear API version released on the Android T platform version (API level 33).

<br />

### WEAR_TIRAMISU_4

Added in [version 34.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final WearApiVersion WEAR_TIRAMISU_4
```

The fourth Wear API version released on the Android T platform version (API level 33).

<br />

### WEAR_UDC_1

Added in [version 34.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final WearApiVersion WEAR_UDC_1
```

The first Wear API version released on the Android U platform version (API level 34).

<br />

### WEAR_VIC_1

Added in [version 35.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final WearApiVersion WEAR_VIC_1
```

The first Wear API version released on the Android V platform version (API level 35).

<br />

## Public methods

### lookup

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static WearApiVersion lookup (String requiredVersion)
```

This method helps ensure that API versions exist when queried from a client that may be
running on an older version of the platform prior to the introduction of the
WearApiVersion corresponding to the given API level.

<br />

| Parameters ||
|---|---|
| `requiredVersion` | `String`: a string corresponding to the required level. The format of the string is WEAR_\<VERSION\>_\<RELEASE\>. For example, the first minor release on UDC would be \`WEAR_UDC_1\`. <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/com/google/wear/WearApiVersion` | the `https://developer.android.com/reference/com/google/wear/WearApiVersion` corresponding to the given string, if it exists. <br /> |