# RotaryScrollEvent

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/input/rotary/RotaryScrollEvent.+class:androidx.compose.ui.input.rotary.RotaryScrollEvent) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.0) Common/AllAndroid/JVM
- Cmn

  ```
  class RotaryScrollEvent
  ```

*** ** * ** ***

This event represents a rotary input event.

## Summary

| ### Public functions |
|---|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | android |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent#hashCode()()` | android |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent#toString()()` | android |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent#horizontalScrollPixels()` The amount to scroll (in pixels) in response to a `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent` in a container that can scroll horizontally. | Cmn android |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent#inputDeviceId()` The id for the input device that this event came from | android |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent#uptimeMillis()` The time in milliseconds at which this even occurred. | Cmn android |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent#verticalScrollPixels()` The amount to scroll (in pixels) in response to a `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent` in a container that can scroll vertically. | Cmn android |

## Public functions

### equals

android

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

android

```
open fun hashCode(): Int
```

### toString

android

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

## Public properties

### horizontalScrollPixels

Cmn android Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.0)

```
val horizontalScrollPixels: Float
```

The amount to scroll (in pixels) in response to a `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent` in a container that can scroll horizontally.

### inputDeviceId

android Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.6.0)

```
val inputDeviceId: Int
```

The id for the input device that this event came from

### uptimeMillis

Cmn android Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.0)

```
val uptimeMillis: Long
```

The time in milliseconds at which this even occurred. The start (`0`) time is platform-dependent.

### verticalScrollPixels

Cmn android Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.0)

```
val verticalScrollPixels: Float
```

The amount to scroll (in pixels) in response to a `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent` in a container that can scroll vertically.