Language

Device.Builder.SetType(HealthDeviceType) Method

Definition

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

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.

Applies to