# Delay

# Delay


```
class Delay : Node
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [com.google.home.automation.Node](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node) ||
|   | ↳ | [com.google.home.automation.Delay](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Delay) |

*** ** * ** ***

A `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node` that provides the ability to pause for a specified amount of time.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Delay#Delay(java.time.Duration)(duration: https://developer.android.com/reference/java/time/Duration.html)` Create a `Delay` instance. |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/java/time/Duration.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Delay#duration()` How long the delay lasts. |

| ### Inherited properties |
|---|
| From [com.google.home.automation.Node](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node) |---|---| | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node#nodeId()` String identifier of this node. | |

## Public constructors

### Delay

```
Delay(duration: Duration)
```

Create a `Delay` instance.

| Parameters |
|---|---|
| `duration: https://developer.android.com/reference/java/time/Duration.html` | The duration of the delay. |

## Public properties

### duration

```
val duration: Duration
```

How long the delay lasts. The duration may be as short as five seconds or as long as 24 hours.