Edytuj

Udostępnij za pośrednictwem


HMAccessory.UpdateNameAsync(String) Method

Definition

Updates the name of the accessory and runs completion after it has finished.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task UpdateNameAsync (string name);
abstract member UpdateNameAsync : string -> System.Threading.Tasks.Task
override this.UpdateNameAsync : string -> System.Threading.Tasks.Task

Parameters

name
String

Returns

A task that represents the asynchronous UpdateName operation

Attributes

Applies to