open class RemoteLong : BaseRemoteState

Known direct subclasses
MutableRemoteLong

A mutable implementation of RemoteLong.


Abstract base class for all remote long representations. This class extends RemoteState.

Summary

Public functions

operator RemoteLong

Returns a new RemoteLong that evaluates to this RemoteLong minus v.

operator RemoteLong

Returns a new RemoteLong that evaluates to this RemoteLong plus v.

operator RemoteLong

Returns a new RemoteLong that evaluates to this RemoteLong times v.

RemoteInt

Returns a RemoteInt that evaluates to the truncating conversion of the lower 32 bits of the RemoteLong.

Inherited properties

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

The constant value held by this state.

open Boolean

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

Public functions

minus

Added in 1.0.0-alpha12
operator fun minus(v: RemoteLong): RemoteLong

Returns a new RemoteLong that evaluates to this RemoteLong minus v.

plus

Added in 1.0.0-alpha12
operator fun plus(v: RemoteLong): RemoteLong

Returns a new RemoteLong that evaluates to this RemoteLong plus v.

times

Added in 1.0.0-alpha12
operator fun times(v: RemoteLong): RemoteLong

Returns a new RemoteLong that evaluates to this RemoteLong times v.

toRemoteInt

Added in 1.0.0-alpha12
fun toRemoteInt(): RemoteInt

Returns a RemoteInt that evaluates to the truncating conversion of the lower 32 bits of the RemoteLong.