Edit

Share via


HMAccessoryDelegate.DidRemoveProfile(HMAccessory, HMAccessoryProfile) Method

Definition

Method that is called when profile was removed from accessory.

[Foundation.Export("accessory:didRemoveProfile:")]
[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 DidRemoveProfile (HomeKit.HMAccessory accessory, HomeKit.HMAccessoryProfile profile);
abstract member DidRemoveProfile : HomeKit.HMAccessory * HomeKit.HMAccessoryProfile -> unit
override this.DidRemoveProfile : HomeKit.HMAccessory * HomeKit.HMAccessoryProfile -> unit

Parameters

accessory
HMAccessory

The accessory from which the profile was removed.

profile
HMAccessoryProfile

The profile that was removed.

Attributes

Applies to