Edit

Share via


HMHomeManager.RemoveHomeAsync(HMHome) Method

Definition

Removes home from the manager 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 RemoveHomeAsync (HomeKit.HMHome home);
abstract member RemoveHomeAsync : HomeKit.HMHome -> System.Threading.Tasks.Task
override this.RemoveHomeAsync : HomeKit.HMHome -> System.Threading.Tasks.Task

Parameters

home
HMHome

Returns

A task that represents the asynchronous RemoveHome operation

Attributes

Remarks

The RemoveHomeAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to