| Package | Description |
|---|---|
| com.google.api.services.fitness.model |
| Modifier and Type | Method and Description |
|---|---|
Device |
Device.clone() |
Device |
DataSource.getDevice()
Representation of an integrated device (such as a phone or a wearable) that can hold sensors.
|
Device |
Device.set(String fieldName,
Object value) |
Device |
Device.setManufacturer(String manufacturer)
Manufacturer of the product/hardware.
|
Device |
Device.setModel(String model)
End-user visible model name for the device.
|
Device |
Device.setType(String type)
A constant representing the type of the device.
|
Device |
Device.setUid(String uid)
The serial number or other unique ID for the hardware.
|
Device |
Device.setVersion(String version)
Version string for the device hardware/software.
|
| Modifier and Type | Method and Description |
|---|---|
DataSource |
DataSource.setDevice(Device device)
Representation of an integrated device (such as a phone or a wearable) that can hold sensors.
|
Copyright © 2011–2022 Google. All rights reserved.