Package apple.homekit.protocol
Interface HMAccessoryBrowserDelegate
-
public interface HMAccessoryBrowserDelegateThis delegate receives updates about new accessories in the home.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidaccessoryBrowserDidFindNewAccessory(HMAccessoryBrowser browser, HMAccessory accessory)Informs the delegate about new accessories discovered in the home.default voidaccessoryBrowserDidRemoveNewAccessory(HMAccessoryBrowser browser, HMAccessory accessory)Informs the delegate about new accessories removed from the home.
-
-
-
Method Detail
-
accessoryBrowserDidFindNewAccessory
default void accessoryBrowserDidFindNewAccessory(HMAccessoryBrowser browser, HMAccessory accessory)
Informs the delegate about new accessories discovered in the home.- Parameters:
browser- Sender of the message.accessory- New accessory that was discovered.
-
accessoryBrowserDidRemoveNewAccessory
default void accessoryBrowserDidRemoveNewAccessory(HMAccessoryBrowser browser, HMAccessory accessory)
Informs the delegate about new accessories removed from the home.- Parameters:
browser- Sender of the message.accessory- Accessory that was previously discovered but are no longer reachable. This method is also invoked when an accessory is added to a home.
-
-