Share via


HMAccessoryDelegate_Extensions.DidAddProfile Method

Definition

Method that is called when profile was added to accessory.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void DidAddProfile(this HomeKit.IHMAccessoryDelegate This, HomeKit.HMAccessory accessory, HomeKit.HMAccessoryProfile profile);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member DidAddProfile : HomeKit.IHMAccessoryDelegate * HomeKit.HMAccessory * HomeKit.HMAccessoryProfile -> unit

Parameters

accessory
HMAccessory

The accessory to which the profile was added.

profile
HMAccessoryProfile

The profile that was added.

Attributes

Applies to