共用方式為


HMHomeDelegate.DidEncounterError(HMHome, NSError, HMAccessory) 方法

定義

error發生在 accessory 屬於首頁 home 的 中。

[Foundation.Export("home:didEncounterError:forAccessory:")]
public virtual void DidEncounterError (HomeKit.HMHome home, Foundation.NSError error, HomeKit.HMAccessory accessory);
abstract member DidEncounterError : HomeKit.HMHome * Foundation.NSError * HomeKit.HMAccessory -> unit
override this.DidEncounterError : HomeKit.HMHome * Foundation.NSError * HomeKit.HMAccessory -> unit

參數

home
HMHome
error
NSError
accessory
HMAccessory
屬性

適用於