Düzenle

Aracılığıyla paylaş


HMHomeManager.UpdatePrimaryHomeAsync(HMHome) Method

Definition

Updates the primary home to be home 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 UpdatePrimaryHomeAsync (HomeKit.HMHome home);
abstract member UpdatePrimaryHomeAsync : HomeKit.HMHome -> System.Threading.Tasks.Task
override this.UpdatePrimaryHomeAsync : HomeKit.HMHome -> System.Threading.Tasks.Task

Parameters

home
HMHome

Returns

A task that represents the asynchronous UpdatePrimaryHome operation

Attributes

Applies to