RvcCleanModeTrait.ChangeToModeCommand.Response

class RvcCleanModeTrait.ChangeToModeCommand.Response


The result of the completed ChangeToMode command.

Summary

Public constructors

Response(status: UByte, statusText: String?)

Creates a response payload from the ChangeToMode command.

Public properties

UByte

The status of the ChangeToMode command.

String?

Text describing the status of the ChangeToMode command.

Public constructors

Response

Response(status: UByte, statusText: String? = null)

Creates a response payload from the ChangeToMode command.

Public properties

status

val statusUByte

The status of the ChangeToMode command. Valid values are defined by the device manufacturer.

statusText

val statusTextString?

Text describing the status of the ChangeToMode command.