Expose "Favorite" Property of HomeKit Characteristics

Originator:winsmith
Number:rdar://26895546 Date Originated:20-Jun-2016
Status:Open Resolved:
Product:iOS SDK Product Version:iPhone OS 10.0 (14A5261v)
Classification: Reproducible:n/a
 
Summary:
During pairing on iOS 10, a service can be marked as "Show in Favorites", showing that accessory in the new Control Center for HomeKit, and also showing it more prominently in the Home app. Allowing third party HomeKit apps to also show these accessories first would improve overall consistency in the HomeKit ecosystem. My proposed name for that property is "isFavorite"

Steps to Reproduce:
1. Pair a HomeKit Accessory
2. Check the "Show in Favorites" checkbox for at least one service
3. Switch to code
4. Retrieve the HMService instance corresponding to that service
5. Try to access the .isFavorite property

Expected Results:
The property returns either true or false

Actual Results:
The property does not exist

Version:
iPhone OS 10.0 (14A5261v)

Notes:


Configuration:
iPhone8,2

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!