GoogleMowerDevice.StandardTraits

class GoogleMowerDevice.StandardTraits


Trait Container for Standard Traits.

Summary

Public constructors

StandardTraits(
    onOff: OnOff?,
    operationalState: OperationalState?,
    powerSource: PowerSource?
)

Public properties

OnOff?

This trait provides an interface for turning devices on and off.

OperationalState?

This trait supports remote monitoring and allows the operational state of any device to be changed provided that a state machine is part of the operation.

PowerSource?

Public constructors

StandardTraits

StandardTraits(
    onOff: OnOff?,
    operationalState: OperationalState?,
    powerSource: PowerSource?
)

Public properties

onOff

val onOffOnOff?

This trait provides an interface for turning devices on and off.

operationalState

val operationalStateOperationalState?

This trait supports remote monitoring and allows the operational state of any device to be changed provided that a state machine is part of the operation.

powerSource

val powerSourcePowerSource?