HMHome.UnblockAccessoryAsync(HMAccessory) 方法

定义

从家里解开, accessory 并在完成后运行 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 UnblockAccessoryAsync (HomeKit.HMAccessory accessory);
abstract member UnblockAccessoryAsync : HomeKit.HMAccessory -> System.Threading.Tasks.Task
override this.UnblockAccessoryAsync : HomeKit.HMAccessory -> System.Threading.Tasks.Task

参数

accessory
HMAccessory

返回

表示异步 UnblockAccessory 操作的任务

属性

适用于