Google is committed to advancing racial equity for Black communities. See how.

AccessibilityRangeInfo

data class AccessibilityRangeInfo
kotlin.Any
   ↳ androidx.compose.ui.semantics.AccessibilityRangeInfo

Data class for accessibility range information.

Summary

Public constructors
<init>(current: Float, range: ClosedFloatingPointRange<Float>, @IntRange(0) steps: Int = 0)

Data class for accessibility range information.

Properties
Float

current value in the range

ClosedFloatingPointRange<Float>

range of this node

Int

if greater than 0, specifies the number of discrete values, evenly distributed between across the whole value range.

Public constructors

<init>

AccessibilityRangeInfo(
    current: Float,
    range: ClosedFloatingPointRange<Float>,
    @IntRange(0) steps: Int = 0)

Data class for accessibility range information.

Parameters
current: Float current value in the range
range: ClosedFloatingPointRange<Float> range of this node
steps: Int = 0 if greater than 0, specifies the number of discrete values, evenly distributed between across the whole value range. If 0, any value from the range specified can be chosen.

Properties

current

val current: Float

current value in the range

range

val range: ClosedFloatingPointRange<Float>

range of this node

steps

val steps: Int

if greater than 0, specifies the number of discrete values, evenly distributed between across the whole value range. If 0, any value from the range specified can be chosen.