from

fun from(value: Int): FeatureState

Returns the feature state for a given a feature.

Parameters

value

Integer value describing the state.

Throws

if the feature value is not 0, 1 or 2.