abstract class RemoteBitmap : BaseRemoteState

Known direct subclasses
MutableRemoteBitmap

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


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

RemoteBitmap represents an image value that can be a constant, a named variable, or an offscreen buffer.

Summary

Public properties

open ImageBitmap?

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

RemoteFloat

The height of the bitmap as represented in the remote document.

RemoteFloat

The width of the bitmap as represented in the remote document.

Inherited properties

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

The constant value held by this state.

open Boolean

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

Public properties

constantValueOrNull

open val constantValueOrNullImageBitmap?

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

height

Added in 1.0.0-alpha07
val heightRemoteFloat

The height of the bitmap as represented in the remote document.

width

Added in 1.0.0-alpha07
val widthRemoteFloat

The width of the bitmap as represented in the remote document.