ServiceAreaTrait.SkipAreaCommand.Response

class ServiceAreaTrait.SkipAreaCommand.Response : ClusterStruct


The result of the completed SkipArea command.

Summary

Nested types

Descriptor enum for this command's response fields.

Public constructors

Creates a response payload from the SkipArea command.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

ServiceAreaTrait.SkipAreaStatus

The status of the SkipArea command.

String

Text describing the status of the SkipArea command.

Public constructors

Response

Response(
    status: ServiceAreaTrait.SkipAreaStatus = SkipAreaStatus.Success,
    statusText: String = ""
)

Creates a response payload from the SkipArea command.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

status

val statusServiceAreaTrait.SkipAreaStatus

The status of the SkipArea command. If the Status field is set to Success or InvalidAreaList, the server can use a non-empty string for the StatusText field to provide additional information. For example, if Status is set to InvalidAreaList, the server can use StatusText to indicate which areas are invalid. If the Status field is not set to Success or InvalidAreaList, the StatusText field can include a vendor-defined error description which can be used to explain the error to the user.

statusText

val statusTextString

Text describing the status of the SkipArea command.