Class

RemoteState.Domain

Represents the domain (namespace) for named remote states.

Source set: Android
public open class Domain internal constructor(internal val coreDomain: String?)

Represents the domain (namespace) for named remote states.

Named states are used to identify variables that can be updated externally or shared across different parts of a remote document.

Properties

prefix

Source set: Android
@get:RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public val prefix: String

A string representation of the domain followed by a colon separator, or an empty string if the domain is null. This is used to namespace named remote states.

Functions

prefixed

@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public fun prefixed(name: String): String

Returns the given name prefixed with this domain and a colon, or just name if the coreDomain is null.

Last updated: