States

data class States : CmPropertyInfo

Represents metadata for a property with predefined states.

Properties

Link copied to clipboard
open override val accessType: CmAccessType.States

The CmAccessType.States, defining whether the property is read-only, write-only or read-write. Comes with associated relevant read and/or write data.

Link copied to clipboard
open override val identifier: String

A unique string identifying the property.

Link copied to clipboard

A list of CmPropertyValue.States representing the possible states.

Link copied to clipboard
open override val variant: String?

An optional string providing additional differentiation between properties. In case of multiple vehicle types, variant is used to distinguish between same properties of multiple vehicles that are handled differently. The value is usually agreed between implementer and Comodule.