# RemoteMotionScheme

Artifact: [androidx.wear.compose.remote:remote-material3](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/remote/material3/RemoteMotionScheme.kt+class:androidx.wear.compose.remote.material3.RemoteMotionScheme) Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)


```
interface RemoteMotionScheme
```

<br />

*** ** * ** ***

A motion scheme provides all the `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`s for a `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMaterialTheme`.

Motion schemes are designed to create a harmonious motion for components in the app. This is the Remote Compose counterpart of `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/MotionScheme`.

There are two built-in schemes, a `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme#standard()` and an `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme#expressive()`, that can be used as-is or customized.

The animation specs are written into the remote document when it is created, so the motion scheme is chosen at creation time and doesn't change on the player.

## Summary

| ### Public companion functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme#expressive()()` Returns an expressive Material motion scheme. |
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme#standard()()` Returns a standard Material motion scheme. |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme#defaultEffectsSpec()()` A default effects motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`. |
| `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme#defaultSpatialSpec()()` A default spatial motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`. |
| `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme#fastEffectsSpec()()` A fast effects motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`. |
| `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme#fastSpatialSpec()()` A fast spatial motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`. |
| `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme#slowEffectsSpec()()` A slow effects motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`. |
| `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMotionScheme#slowSpatialSpec()()` A slow spatial motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`. |

## Public companion functions

### expressive

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
fun expressive(): RemoteMotionScheme
```

Returns an expressive Material motion scheme.

The expressive scheme is Material's recommended motion scheme for prominent UI elements and hero interactions. It provides a visually engaging motion feel.

### standard

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
fun standard(): RemoteMotionScheme
```

Returns a standard Material motion scheme.

The standard scheme is Material's basic motion scheme for utilitarian UI elements and recurring interactions. It provides a linear motion feel. This is the default motion scheme of `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteMaterialTheme`, as in Wear Compose Material 3.

## Public functions

### defaultEffectsSpec

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
fun defaultEffectsSpec(): RemoteAnimationSpec
```

A default effects motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`.

This motion spec is designed to be applied to animations that have strict limits and which shouldn't overshoot their targets, such as color or alpha animations. For shape, bounds or other animations which don't have strict limits use the `spatial` equivalent.

### defaultSpatialSpec

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
fun defaultSpatialSpec(): RemoteAnimationSpec
```

A default spatial motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`.

This motion spec is designed to be applied to animations that can overshoot their targets, such as shape or bounds animations. For color, alpha or other animations which have strict limits use the `effects` equivalent.

### fastEffectsSpec

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
fun fastEffectsSpec(): RemoteAnimationSpec
```

A fast effects motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`.

This motion spec is designed to be applied to animations that have strict limits and which shouldn't overshoot their targets, such as color or alpha animations. For shape, bounds or other animations which don't have strict limits use the `spatial` equivalent.

### fastSpatialSpec

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
fun fastSpatialSpec(): RemoteAnimationSpec
```

A fast spatial motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`.

This motion spec is designed to be applied to animations that can overshoot their targets, such as shape or bounds animations. For color, alpha or other animations which have strict limits use the `effects` equivalent.

### slowEffectsSpec

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
fun slowEffectsSpec(): RemoteAnimationSpec
```

A slow effects motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`.

This motion spec is designed to be applied to animations that have strict limits and which shouldn't overshoot their targets, such as color or alpha animations. For shape, bounds or other animations which don't have strict limits use the `spatial` equivalent.

### slowSpatialSpec

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
fun slowSpatialSpec(): RemoteAnimationSpec
```

A slow spatial motion `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteAnimationSpec`.

This motion spec is designed to be applied to animations that can overshoot their targets, such as shape or bounds animations. For color, alpha or other animations which have strict limits use the `effects` equivalent.