kotlin application, actions-on-google version 1.7.0
roomHint is set with devicebuilder
val deviceBuilder = SyncResponse.Payload.Device.Builder() .setId(it.name) .setOtherDeviceIds(Collections.singletonList(otherDeviceIds)) .setName(name) .setType(type) .setDeviceInfo(info) .setRoomHint(roomHint) .setTraits(traits) .setAttributes(attributes) .setCustomData(customData) .setWillReportState(true)
json string is received with
val result = assistantApp.handleRequest(body, headerMap).get()
kotlin application, actions-on-google version 1.7.0
roomHint is set with devicebuilder
val deviceBuilder = SyncResponse.Payload.Device.Builder() .setId(it.name) .setOtherDeviceIds(Collections.singletonList(otherDeviceIds)) .setName(name) .setType(type) .setDeviceInfo(info) .setRoomHint(roomHint) .setTraits(traits) .setAttributes(attributes) .setCustomData(customData) .setWillReportState(true)
json string is received with
val result = assistantApp.handleRequest(body, headerMap).get()
the roomHint is missing in the json string