ObjectDetectionTrait.ObjectType

enum ObjectDetectionTrait.ObjectType : Enum, ClusterEnum


Detected object types.

Summary

Enum Values

Animal
FaceFamiliar

A person whose face is recognized has been detected.

FaceUnfamiliar

A person whose face is not recognized has been detected.

PackageDelivered

A package has been delivered.

Person

A person has been detected.

Unknown

A person or object has been detected, but no more information is known.

UnknownValue

The enum value is out of range.

Vehicle

Public functions

ObjectDetectionTrait.ObjectType
valueOf(value: String)

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

Array<ObjectDetectionTrait.ObjectType>

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

FaceFamiliar

val ObjectDetectionTrait.ObjectType.FaceFamiliarObjectDetectionTrait.ObjectType

A person whose face is recognized has been detected.

FaceUnfamiliar

val ObjectDetectionTrait.ObjectType.FaceUnfamiliarObjectDetectionTrait.ObjectType

A person whose face is not recognized has been detected.

PackageDelivered

val ObjectDetectionTrait.ObjectType.PackageDeliveredObjectDetectionTrait.ObjectType

A package has been delivered.

Unknown

val ObjectDetectionTrait.ObjectType.UnknownObjectDetectionTrait.ObjectType

A person or object has been detected, but no more information is known.

UnknownValue

val ObjectDetectionTrait.ObjectType.UnknownValueObjectDetectionTrait.ObjectType

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): ObjectDetectionTrait.ObjectType

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<ObjectDetectionTrait.ObjectType>

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