abstract class BaseRemoteState<T : Any> : RemoteState

Known direct subclasses
RemoteBoolean

A class representing a remote boolean value.

RemoteColor

Represents a color that can be used with canvas APIs.

RemoteDp

Represents a Density-independent pixel (Dp) value.

RemoteEnum

A class representing a remote enum value.

RemoteFloat

Abstract base class for all remote float representations.

RemoteImageBitmap

Abstract base class for all remote bitmap representations in Compose Remote, this class extends RemoteState.

RemoteInt

Abstract base class for all remote integer representations.

RemoteLong

Abstract base class for all remote long representations.

RemoteMatrix3x3

Represents a 3x3 transformation matrix.

RemoteString

Abstract base class for all remote string representations.

RemoteTextUnit

Represents a TextUnit value (Sp or Em) backed by a RemoteFloat.

Known indirect subclasses
MutableRemoteBoolean

A mutable implementation of RemoteBoolean.

MutableRemoteEnum

A mutable implementation of RemoteEnum.

MutableRemoteFloat

A mutable implementation of RemoteFloat.

MutableRemoteImageBitmap

A mutable implementation of RemoteImageBitmap that holds its value in a MutableState.

MutableRemoteInt

A mutable implementation of RemoteInt.

MutableRemoteLong

A mutable implementation of RemoteLong.

MutableRemoteString

An implementation of RemoteString that holds its value in a MutableState.


Common base class for all Remote types.

Summary

Public properties

abstract T?

The constant value or null if there isn't one.

Inherited properties

From androidx.compose.remote.creation.compose.state.RemoteState
open T

The constant value held by this state.

open Boolean

Whether or not this remote state evaluates to a constant value.

Public properties

constantValueOrNull

abstract val constantValueOrNull: T?

The constant value or null if there isn't one.