HMZone.AddRoomAsync(HMRoom) Method

Definition

Asynchronously adds room to the zone.

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

Parameters

room
HMRoom

Returns

A task that represents the asynchronous AddRoom operation

Attributes

Applies to