---
title: "MutableRemoteEnum"
description: "A mutable implementation of RemoteEnum."
type: "class"
lastmod: "2026-06-18T10:32:53.080332Z"
---
## API Reference

> Source set: Android

```kotlin
public class MutableRemoteEnum<T : Enum<T>>
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public constructor(public val remoteInt: MutableRemoteInt, enumEntries: EnumEntries<T>) :
    RemoteEnum<T>(remoteInt, enumEntries), MutableRemoteState<T>
```

A mutable implementation of [RemoteEnum](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteEnum).

## Companion Object

#### Methods

> Source set: Android

```kotlin
public inline operator fun <reified T : Enum<T>> invoke(
            initialValue: T
        ): MutableRemoteEnum<T>
```

Creates a [MutableRemoteEnum](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/MutableRemoteEnum) with an initial value.

#### Parameters

| | |
| --- | --- |
| initialValue | The initial value for this mutable enum. |

#### Returns

| | |
| --- | --- |
|  | A [MutableRemoteEnum](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/MutableRemoteEnum) instance. |
