Device.Builder.SetType(HealthDeviceType) 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 an optional client supplied type of the device
[Android.Runtime.Register("setType", "(I)Landroid/health/connect/datatypes/Device$Builder;", "", ApiSince=34)]
public Android.Health.Connect.DataTypes.Device.Builder SetType(Android.Health.Connect.DataTypes.HealthDeviceType type);
[<Android.Runtime.Register("setType", "(I)Landroid/health/connect/datatypes/Device$Builder;", "", ApiSince=34)>]
member this.SetType : Android.Health.Connect.DataTypes.HealthDeviceType -> Android.Health.Connect.DataTypes.Device.Builder
Parameters
- type
- HealthDeviceType
Value is one of the following: Unknown Watch Phone Scale Ring HeadMounted FitnessBand ChestStrap SmartDisplay ConsumerMedicalDevice Glasses Hearable FitnessMachine FitnessEquipment PortableComputer Meter
Returns
This device builder with the device type set.
- Attributes
Remarks
Sets an optional client supplied type of the device
Android reference for android.health.connect.datatypes.Device.Builder.setType.
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.