Share via


HMZone.RemoveRoomAsync(HMRoom) Method

Definition

Asynchronously removes room from the zone.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task RemoveRoomAsync(HomeKit.HMRoom room);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RemoveRoomAsync : HomeKit.HMRoom -> System.Threading.Tasks.Task
override this.RemoveRoomAsync : HomeKit.HMRoom -> System.Threading.Tasks.Task

Parameters

room
HMRoom

Returns

A task that represents the asynchronous RemoveRoom operation

Attributes

Remarks

The RemoveRoomAsync 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