WindowCoveringTrait.Type

enum WindowCoveringTrait.Type : Enum, ClusterEnum


The type of window covering.

Summary

Enum Values

Awning

An awning.

Drapery

A form of drapery.

ProjectorScreen

A projector screen.

RollerShade

A roller shade.

RollerShade2Motor

A roller shade with two motors.

RollerShadeExterior

An exterior roller shade.

RollerShadeExterior2Motor

An exterior roller shade with two motors.

Shutter

A shutter.

TiltBlindLiftAndTilt

A blind with lift and tilt capabilities.

TiltBlindTiltOnly

A blind with only tilt capability.

Unknown

An unknown type of window covering.

UnknownValue

The enum value is out of range.

Public functions

WindowCoveringTrait.Type
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<WindowCoveringTrait.Type>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

open String
open String
open ULong

Enum Values

ProjectorScreen

val WindowCoveringTrait.Type.ProjectorScreenWindowCoveringTrait.Type

A projector screen.

RollerShade2Motor

val WindowCoveringTrait.Type.RollerShade2MotorWindowCoveringTrait.Type

A roller shade with two motors.

RollerShadeExterior

val WindowCoveringTrait.Type.RollerShadeExteriorWindowCoveringTrait.Type

An exterior roller shade.

RollerShadeExterior2Motor

val WindowCoveringTrait.Type.RollerShadeExterior2MotorWindowCoveringTrait.Type

An exterior roller shade with two motors.

TiltBlindLiftAndTilt

val WindowCoveringTrait.Type.TiltBlindLiftAndTiltWindowCoveringTrait.Type

A blind with lift and tilt capabilities.

TiltBlindTiltOnly

val WindowCoveringTrait.Type.TiltBlindTiltOnlyWindowCoveringTrait.Type

A blind with only tilt capability.

Unknown

val WindowCoveringTrait.Type.UnknownWindowCoveringTrait.Type

An unknown type of window covering.

UnknownValue

val WindowCoveringTrait.Type.UnknownValueWindowCoveringTrait.Type

The enum value is out of range. For example, a newer Matter cluster definition may support enum values not yet supported by the Home APIs.

Public functions

valueOf

fun valueOf(value: String): WindowCoveringTrait.Type

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<WindowCoveringTrait.Type>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

traitId

open val traitIdString

typeName

open val typeNameString

value

open val valueULong