abstract class BaseRemoteState<T : Any> : RemoteState

Known direct subclasses
RemoteBitmap

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

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.

RemoteFloat

Abstract base class for all remote float representations.

RemoteInt

Abstract base class for all remote integer representations.

RemoteLong

Abstract base class for all remote long representations.

RemoteString

Abstract base class for all remote string representations.

RemoteTextUnit

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

Known indirect subclasses
MutableRemoteBitmap

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

MutableRemoteBoolean

A mutable implementation of RemoteBoolean.

MutableRemoteFloat

A mutable implementation of RemoteFloat.

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 interface 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.