# KeyCycles.Wave

Artifact: [androidx.constraintlayout:constraintlayout-core](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/core/dsl/KeyCycles.java+class:androidx.constraintlayout.core.dsl.KeyCycles.Wave) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

*** ** * ** ***


```
public enum KeyCycles.Wave
```

<br />

*** ** * ** ***

## Summary

| ### Enum Values |
|---|---|
| `https://developer.android.com/reference/androidx/constraintlayout/core/dsl/KeyCycles.Wave#COS` |   |
| `https://developer.android.com/reference/androidx/constraintlayout/core/dsl/KeyCycles.Wave#REVERSE_SAW` |   |
| `https://developer.android.com/reference/androidx/constraintlayout/core/dsl/KeyCycles.Wave#SAW` |   |
| `https://developer.android.com/reference/androidx/constraintlayout/core/dsl/KeyCycles.Wave#SIN` |   |
| `https://developer.android.com/reference/androidx/constraintlayout/core/dsl/KeyCycles.Wave#SQUARE` |   |
| `https://developer.android.com/reference/androidx/constraintlayout/core/dsl/KeyCycles.Wave#TRIANGLE` |   |

| ### Public methods |
|---|---|
| `static https://developer.android.com/reference/androidx/constraintlayout/core/dsl/KeyCycles.Wave` | `https://developer.android.com/reference/androidx/constraintlayout/core/dsl/KeyCycles.Wave#valueOf(java.lang.String)(https://developer.android.com/reference/java/lang/String.html name)` Returns the enum constant of this type with the specified name. |
| `static KeyCycles.Wave[]` | `https://developer.android.com/reference/androidx/constraintlayout/core/dsl/KeyCycles.Wave#values()()` Returns an array containing the constants of this enum type, in the order they're declared. |

## Enum Values

### COS

```
KeyCycles.Wave KeyCycles.Wave.COS
```

### REVERSE_SAW

```
KeyCycles.Wave KeyCycles.Wave.REVERSE_SAW
```

### SAW

```
KeyCycles.Wave KeyCycles.Wave.SAW
```

### SIN

```
KeyCycles.Wave KeyCycles.Wave.SIN
```

### SQUARE

```
KeyCycles.Wave KeyCycles.Wave.SQUARE
```

### TRIANGLE

```
KeyCycles.Wave KeyCycles.Wave.TRIANGLE
```

## Public methods

### valueOf

Added in 1.1.2

```
public static KeyCycles.Wave valueOf(String name)
```

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

| Returns |
|---|---|
| `https://developer.android.com/reference/androidx/constraintlayout/core/dsl/KeyCycles.Wave` | the enum constant with the specified name |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalArgumentException.html` | if this enum type has no constant with the specified name |

### values

Added in 1.1.2

```
public static KeyCycles.Wave[] values()
```

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

| Returns |
|---|---|
| `KeyCycles.Wave[]` | an array containing the constants of this enum type, in the order they're declared |