abstract class RemoteString : BaseRemoteState

Known direct subclasses
MutableRemoteString

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


Abstract base class for all remote string representations.

RemoteString represents a string value that can be a constant, a named variable, or a dynamic expression (e.g., a concatenation).

Summary

Public functions

RemoteString

Returns a RemoteString that evaluates to a lower case version of this RemoteString using the system default locale.

operator RemoteString

Concatenates this RemoteString with another RemoteString.

RemoteString

Returns a RemoteString that evaluates to the trimmed version of this this RemoteString where leading and trailing whitespace characters have been removed.

RemoteString

Returns a RemoteString that evaluates to a upper case version of this RemoteString using the system default locale.

Inherited properties

From androidx.compose.remote.creation.compose.state.BaseRemoteState
abstract String?

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

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

The constant value held by this state.

open Boolean

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

Public functions

lowercase

Added in 1.0.0-alpha07
fun lowercase(): RemoteString

Returns a RemoteString that evaluates to a lower case version of this RemoteString using the system default locale.

Returns
RemoteString

A new MutableRemoteString representing the lower case version of this string.

plus

Added in 1.0.0-alpha07
operator fun plus(v: RemoteString): RemoteString

Concatenates this RemoteString with another RemoteString.

Parameters
v: RemoteString

The other RemoteString to concatenate.

Returns
RemoteString

A new MutableRemoteString representing the concatenated string.

trim

Added in 1.0.0-alpha07
fun trim(): RemoteString

Returns a RemoteString that evaluates to the trimmed version of this this RemoteString where leading and trailing whitespace characters have been removed.

Returns
RemoteString

A new MutableRemoteString representing the trimmed version of this string.

uppercase

Added in 1.0.0-alpha07
fun uppercase(): RemoteString

Returns a RemoteString that evaluates to a upper case version of this RemoteString using the system default locale.

Returns
RemoteString

A new MutableRemoteString representing the upper case version of this string.

Public properties

isEmpty

Added in 1.0.0-alpha07
val isEmptyRemoteBoolean

isNotEmpty

Added in 1.0.0-alpha07
val isNotEmptyRemoteBoolean