Share via


HMHomeManager.UpdatePrimaryHomeAsync(HMHome) Method

Definition

Asynchronously updates the primary home to be home.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task UpdatePrimaryHomeAsync(HomeKit.HMHome home);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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