共用方式為


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 作業的工作

屬性

適用於