Package | Description |
---|---|
com.google.api.services.homegraph.v1.model |
Modifier and Type | Method and Description |
---|---|
Device |
Device.clone() |
Device |
Device.set(String fieldName,
Object value) |
Device |
Device.setAttributes(Map<String,Object> attributes)
Attributes for the traits supported by the device.
|
Device |
Device.setCustomData(Map<String,Object> customData)
Custom device attributes stored in Home Graph and provided to your smart home Action in each
[QUERY](https://developers.home.google.com/cloud-to-cloud/intents/query) and
[EXECUTE](https://developers.home.google.com/cloud-to-cloud/intents/execute) intent.
|
Device |
Device.setDeviceInfo(DeviceInfo deviceInfo)
Device manufacturer, model, hardware version, and software version.
|
Device |
Device.setId(String id)
Third-party device ID.
|
Device |
Device.setName(DeviceNames name)
Names given to this device by your smart home Action.
|
Device |
Device.setNotificationSupportedByAgent(Boolean notificationSupportedByAgent)
Indicates whether your smart home Action will report notifications to Google for this device
via ReportStateAndNotification.
|
Device |
Device.setOtherDeviceIds(List<AgentOtherDeviceId> otherDeviceIds)
Alternate IDs associated with this device.
|
Device |
Device.setRoomHint(String roomHint)
Suggested name for the room where this device is installed.
|
Device |
Device.setStructureHint(String structureHint)
Suggested name for the structure where this device is installed.
|
Device |
Device.setTraits(List<String> traits)
Traits supported by the device.
|
Device |
Device.setType(String type)
Hardware type of the device.
|
Device |
Device.setWillReportState(Boolean willReportState)
Indicates whether your smart home Action will report state of this device to Google via
ReportStateAndNotification.
|
Modifier and Type | Method and Description |
---|---|
List<Device> |
SyncResponsePayload.getDevices()
Devices associated with the third-party user.
|
Modifier and Type | Method and Description |
---|---|
SyncResponsePayload |
SyncResponsePayload.setDevices(List<Device> devices)
Devices associated with the third-party user.
|
Copyright © 2011–2023 Google. All rights reserved.