Share via


HMHomeErrorAccessoryEventArgs(NSError, HMAccessory) Constructor

Definition

Create a new instance of the HMHomeErrorAccessoryEventArgs with the specified event data.

public HMHomeErrorAccessoryEventArgs(Foundation.NSError error, HomeKit.HMAccessory accessory);
new HomeKit.HMHomeErrorAccessoryEventArgs : Foundation.NSError * HomeKit.HMAccessory -> HomeKit.HMHomeErrorAccessoryEventArgs

Parameters

error
NSError

The value for the Error property.

accessory
HMAccessory

The value for the Accessory property.

Applies to