編輯

共用方式為


HMAccessoryBrowserDelegate_Extensions Class

Definition

Extension methods to the IHMAccessoryBrowserDelegate interface to support all the methods from the HMAccessoryBrowserDelegate protocol.

public static class HMAccessoryBrowserDelegate_Extensions
type HMAccessoryBrowserDelegate_Extensions = class
Inheritance
HMAccessoryBrowserDelegate_Extensions

Remarks

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

Methods

DidFindNewAccessory(IHMAccessoryBrowserDelegate, HMAccessoryBrowser, HMAccessory)

The browser found accessory.

DidRemoveNewAccessory(IHMAccessoryBrowserDelegate, HMAccessoryBrowser, HMAccessory)

The browser removed accessory.

Applies to