OtaSoftwareUpdateRequestor

interface OtaSoftwareUpdateRequestor : OtaSoftwareUpdateRequestorTrait.Attributes, MatterTrait, Updatable, OtaSoftwareUpdateRequestorCommands


API for the OtaSoftwareUpdateRequestor trait. This trait provides an interface to a device that is capable of receiving an OTA software update.

Summary

Nested types

Descriptor enum for this trait's attributes.

Descriptor enum for this trait's commands.

Inherited functions

From com.google.home.matter.standard.OtaSoftwareUpdateRequestorCommands
suspend Unit
announceOtaProvider(
    providerNodeId: ULong,
    vendorId: UShort,
    announcementReason: OtaSoftwareUpdateRequestorTrait.AnnouncementReasonEnum,
    endpoint: UShort,
    optionalArgs: OtaSoftwareUpdateRequestorTrait.AnnounceOtaProviderCommand.OptionalArgs.() -> Unit
)

Announce the presence of a particular OTA provider.

From com.google.home.TraitStateInvalidation
suspend Unit
From com.google.home.Updatable
suspend OtaSoftwareUpdateRequestor

Creates a mutable copy of an object and calls the given function to mutate it, then saves it and returns a new immutable copy with the updated state.

Inherited properties

From com.google.home.matter.standard.OtaSoftwareUpdateRequestorTrait.Attributes
List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

UShort

The revision of the server cluster specification supported by the cluster instance.

List<OtaSoftwareUpdateRequestorTrait.ProviderLocation>?

A list of available OTA providers.

UInt

Whether the server supports zero or more optional cluster features.

List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

Boolean?

true indicates that the OTA requestor can be updated.

OtaSoftwareUpdateRequestorTrait.UpdateStateEnum?

The current state of the OTA requestor with regard to obtaining software updates.

UByte?

The progress of the update as a percentage.

From com.google.home.Trait

Public functions

Public properties