共用方式為


HMHome.RemoveRoomAsync(HMRoom) 方法

定義

room從首頁移除 ,並在完成之後執行 completion

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task RemoveRoomAsync(HomeKit.HMRoom room);
abstract member RemoveRoomAsync : HomeKit.HMRoom -> System.Threading.Tasks.Task
override this.RemoveRoomAsync : HomeKit.HMRoom -> System.Threading.Tasks.Task

參數

room
HMRoom

傳回

表示非同步 RemoveRoom 作業的工作

屬性

適用於