FractionalThreshold

Class

Android
@ExperimentalWearMaterialApi
public data class FractionalThreshold(
    @FloatRange(from = 0.0, to = 1.0) private val fraction: Float
) : ThresholdConfig

A fractional threshold will be at a fraction of the way between the two anchors.

Parameters

fractionThe fraction (between 0 and 1) that the threshold will be at.