<div class='sourceset sourceset-common'>Common</div>

```kotlin
@ExperimentalMediaQueryApi
    value class ViewingDistance private constructor(private val description: String)
```

Describes the typical distance between the user and the screen.

## Companion Object

#### Properties

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val Near = ViewingDistance("Near")
```

Represents a device used within close range, such as a handheld phone, tablet,
laptop, or desktop monitor. This is the default for most personal devices.

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val Medium = ViewingDistance("Medium")
```

Represents a device positioned slightly further away, such as an automotive device,
or a tablet in a dock mode.

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val Far = ViewingDistance("Far")
```

Represents a device viewed from a significant distance, such as a television.