# UiMediaScope.KeyboardKind

Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/MediaQuery.kt+class:androidx.compose.ui.UiMediaScope.KeyboardKind) Added in [1.11.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.11.0) Common/AllAndroid/JVM
- Cmn

  ```
  @ExperimentalMediaQueryApi
  value class UiMediaScope.KeyboardKind
  ```

*** ** * ** ***

Describes the kind of keyboard available.

## Summary

| ### Public companion properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/UiMediaScope.KeyboardKind` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/UiMediaScope.KeyboardKind#None()` Indicates that no keyboard is currently available for input. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/UiMediaScope.KeyboardKind` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/UiMediaScope.KeyboardKind#Physical()` Represents a physical hardware keyboard. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/UiMediaScope.KeyboardKind` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/UiMediaScope.KeyboardKind#Virtual()` Represents an on-screen virtual keyboard (IME). | Cmn |

| ### Public functions |
|---|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/UiMediaScope.KeyboardKind#toString()()` | Cmn |

## Public companion properties

### None

Cmn

```
val None: UiMediaScope.KeyboardKind
```

Indicates that no keyboard is currently available for input.

This state occurs when no physical keyboard is connected to the device, and the on-screen software keyboard (IME) is currently hidden or closed.

### Physical

Cmn

```
val Physical: UiMediaScope.KeyboardKind
```

Represents a physical hardware keyboard.

### Virtual

Cmn

```
val Virtual: UiMediaScope.KeyboardKind
```

Represents an on-screen virtual keyboard (IME).

## Public functions

### toString

Cmn

```
open fun toString(): String
```