Język

Device.Builder.SetDisplayName(String) Method

Definition

Sets an optional display name for the device

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

Parameters

displayName
String

The display name to store for the device.

Returns

This device builder with the display name set.

Attributes

Remarks

Sets an optional display name for the device

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

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