OperationalStateTrait.OperationCompletion

interface OperationalStateTrait.OperationCompletion : ClusterStruct


This event is generated when the overall operation ends, successfully or otherwise.

Summary

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

UByte?

Provides an indication of the state at the end of the operation.

UInt?

The total time spent in the paused state, in seconds.

UInt?

The total operational time, in seconds, from when the operation was started until the operation completed, including any time spent while paused.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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

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

Public properties

completionErrorCode

val completionErrorCodeUByte?

Provides an indication of the state at the end of the operation.

pausedTime

val pausedTimeUInt?

The total time spent in the paused state, in seconds.

totalOperationalTime

val totalOperationalTimeUInt?

The total operational time, in seconds, from when the operation was started until the operation completed, including any time spent while paused.