編集

次の方法で共有


HMHomeManagerDelegate_Extensions Class

Definition

Extension methods to the IHMHomeManagerDelegate interface to support all the methods from the HMHomeManagerDelegate protocol.

public static class HMHomeManagerDelegate_Extensions
type HMHomeManagerDelegate_Extensions = class
Inheritance
HMHomeManagerDelegate_Extensions

Remarks

The extension methods for IHMHomeManagerDelegate allow developers to treat instances of the interface as having all the optional methods of the original HMHomeManagerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidAddHome(IHMHomeManagerDelegate, HMHomeManager, HMHome)

The home was added to manager.

DidRemoveHome(IHMHomeManagerDelegate, HMHomeManager, HMHome)

The home was removed from manager.

DidUpdateHomes(IHMHomeManagerDelegate, HMHomeManager)

A home in manager was updated.

DidUpdatePrimaryHome(IHMHomeManagerDelegate, HMHomeManager)

The primary home in manager was updated.

Applies to