AreaAttendanceState

class AreaAttendanceState : PlatformTrait, AreaAttendanceStateTrait.Attributes


API for the AreaAttendanceState trait. This trait provides an interface for the current attendance state of known household members in a Structure. Only for use with automations.

Summary

Nested types

Descriptor enum for this trait's attributes.

Public properties

open TraitFactory<AreaAttendanceState>

Inherited functions

From com.google.home.google.PlatformTrait
suspend Unit
sendCommand(commandId: String)
suspend Unit
<REQUEST : Any?> sendCommand(
    commandId: String,
    request: PlatformTraitPayload<REQUEST>
)
suspend RESPONSE
<RESPONSE : Any?> sendCommand(
    commandId: String,
    responseParser: Parser<RESPONSE>
)
suspend RESPONSE
<REQUEST : Any?, RESPONSE : Any?> sendCommand(
    commandId: String,
    request: PlatformTraitPayload<REQUEST>,
    responseParser: Parser<RESPONSE>
)
suspend Unit
<T : Any?> write(parser: Parser<T>, attributes: T, useTimedInteraction: Boolean)

Public properties

factory

open val factoryTraitFactory<AreaAttendanceState>