HMAccessoryDelegate.DidAddProfile(HMAccessory, HMAccessoryProfile) Method

Definition

Method that is called when profile was added to accessory.

[Foundation.Export("accessory:didAddProfile:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidAddProfile (HomeKit.HMAccessory accessory, HomeKit.HMAccessoryProfile profile);
abstract member DidAddProfile : HomeKit.HMAccessory * HomeKit.HMAccessoryProfile -> unit
override this.DidAddProfile : 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