Appearance
types/unit.proto
Table of Contents
types/unit.proto
AudioLevel
Represents an audio signal level for either input or output devices. Typically if fine grained control of either gain or muted is required then a FieldMask should describe this.
Field | Type | Label | Description |
---|---|---|---|
gain | float | The current gain, typically as a percentage unless documented in the AudioLevel usage. | |
gain_tween | Tween | How the gain changes or should change over time. On write only duration should be set. | |
target_gain | float | Read-only, the target value for the gain during a transition | |
muted | bool | If the audio level muted. |
AudioLevelChange
A change to the audio level
Field | Type | Label | Description |
---|---|---|---|
name | string | The name of the device that is the source of the change | |
change_time | google.protobuf.Timestamp | When the change was applied | |
level | AudioLevel | The new state for the change |
Temperature
A temperature value
Field | Type | Label | Description |
---|---|---|---|
value_celsius | double | The value in celsius, always! Use device attributes if the device 'thinks' in a different unit but always communicate in celsius. |
MuteSupport
What is the level of mute support that the speaker provides
Name | Number | Description |
---|---|---|
MUTE_SUPPORT_UNSPECIFIED | 0 | |
MUTE_NATIVE | 1 | The speaker natively supports mute |
MUTE_EMULATED | 2 | Muting is emulated, typically by setting the gain to 0 |
TemperatureUnit
Possible temperature units for physical bodies.
Name | Number | Description |
---|---|---|
TEMPERATURE_UNIT_UNSPECIFIED | 0 | |
CELSIUS | 1 | |
FAHRENHEIT | 2 | |
KELVIN | 3 |