Interface

RemoteState

A readable but not writable Remote Compose State value.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public interface RemoteState<T>

A readable but not writable Remote Compose State value.

RemoteState represents a value that is available during remote document creation. It may represent either a constant value or a dynamic expression that evaluates on the remote rendering engine.

In Remote Compose recording mode, a type-specific ID is used to refer to this state within RemoteComposeCreationState.

Parameters

T The type of the value held by this state.