API reference
API reference
Select your platform
No SDKs available
No versions available

SpatialDialogSteps Class

Modifiers: final
Represents the progress state of a multi-step spatial dialog, tracking the current step number and total step count. Used by SpatialDialog composables to render step indicators (e.g., 'Step 2 of 5') and control navigation between pages. Create with SpatialDialogSteps(current = 1, total = 3) to indicate position within the flow.

Signature

data class SpatialDialogSteps(val current: Int, val total: Int)

Constructors

SpatialDialogSteps ( current , total )
Signature
constructor(current: Int, total: Int)
Parameters
current: Int  The one-based index of the currently displayed step. Must be between 1 and total inclusive.
total: Int  The total number of steps in the dialog flow. Determines how many step indicators are rendered.

Properties

current : Int
[Get]
The one-based index of the currently displayed step. Must be between 1 and total inclusive.
Signature
val current: Int
total : Int
[Get]
The total number of steps in the dialog flow. Determines how many step indicators are rendered.
Signature
val total: Int