Upravit

Sdílet prostřednictvím


HMAccessoryDelegate_Extensions.DidAddProfile Method

Definition

Method that is called when profile was added to accessory.

[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 static void DidAddProfile (this HomeKit.IHMAccessoryDelegate This, HomeKit.HMAccessory accessory, HomeKit.HMAccessoryProfile profile);
static member DidAddProfile : HomeKit.IHMAccessoryDelegate * HomeKit.HMAccessory * HomeKit.HMAccessoryProfile -> unit

Parameters

This
IHMAccessoryDelegate

The instance on which this extension method operates.

accessory
HMAccessory

The accessory to which the profile was added.

profile
HMAccessoryProfile

The profile that was added.

Attributes

Applies to