Metadata.Builder.SetDevice(Device) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets optional client supplied device information associated with the data.
[Android.Runtime.Register("setDevice", "(Landroid/health/connect/datatypes/Device;)Landroid/health/connect/datatypes/Metadata$Builder;", "", ApiSince=34)]
public Android.Health.Connect.DataTypes.Metadata.Builder SetDevice(Android.Health.Connect.DataTypes.Device device);
[<Android.Runtime.Register("setDevice", "(Landroid/health/connect/datatypes/Device;)Landroid/health/connect/datatypes/Metadata$Builder;", "", ApiSince=34)>]
member this.SetDevice : Android.Health.Connect.DataTypes.Device -> Android.Health.Connect.DataTypes.Metadata.Builder
Parameters
- device
- Device
Returns
- Attributes
Remarks
Sets optional client supplied device information associated with the data.
Android reference for android.health.connect.datatypes.Metadata.Builder.setDevice.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.