Język

Device.Builder.SetModel(String) Method

Definition

Sets an optional client supplied model of the device

[Android.Runtime.Register("setModel", "(Ljava/lang/String;)Landroid/health/connect/datatypes/Device$Builder;", "", ApiSince=34)]
public Android.Health.Connect.DataTypes.Device.Builder SetModel(string? model);
[<Android.Runtime.Register("setModel", "(Ljava/lang/String;)Landroid/health/connect/datatypes/Device$Builder;", "", ApiSince=34)>]
member this.SetModel : string -> Android.Health.Connect.DataTypes.Device.Builder

Parameters

model
String

The model name to store for the device.

Returns

This device builder with the model set.

Attributes

Remarks

Sets an optional client supplied model of the device

Android reference for android.health.connect.datatypes.Device.Builder.setModel.

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