* @param {Device.Type} type the input type. * @param {string} id a unique ID for this device.
(type, id)
| 216 | * @param {string} id a unique ID for this device. |
| 217 | */ |
| 218 | constructor(type, id) { |
| 219 | /** @private @const */ this.type_ = type |
| 220 | /** @private @const */ this.id_ = id |
| 221 | } |
| 222 | |
| 223 | /** @return {!Object} the JSON encoding for this device. */ |
| 224 | toJSON() { |
nothing calls this directly
no outgoing calls
no test coverage detected