Skip to content

HomeKit iOS xcode16.0 b1

Rolf Bjarne Kvinge edited this page Jul 9, 2024 · 3 revisions

#HomeKit.framework

Rolf

diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryCategoryTypes.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryCategoryTypes.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryCategoryTypes.h	2024-04-18 07:17:56
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryCategoryTypes.h	2024-05-30 06:04:43
@@ -143,3 +144,40 @@
  * @brief Category type for Shower Head.
  */
 HM_EXTERN NSString *const HMAccessoryCategoryTypeShowerHead API_AVAILABLE(ios(11.2), watchos(4.2), tvos(11.2), macCatalyst(14.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Category type for Television.
+ */
+HM_EXTERN NSString *const HMAccessoryCategoryTypeTelevision API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Category type for Television Set Top Box.
+ */
+HM_EXTERN NSString *const HMAccessoryCategoryTypeTelevisionSetTopBox API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Category type for Television Streaming Stick.
+ */
+HM_EXTERN NSString *const HMAccessoryCategoryTypeTelevisionStreamingStick API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Category type for Wi-Fi Router.
+ */
+HM_EXTERN NSString *const HMAccessoryCategoryTypeWiFiRouter API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Category type for Speakers.
+ */
+HM_EXTERN NSString *const HMAccessoryCategoryTypeSpeaker API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Category type for an audio receiver that supports HAP and AirPlay2.
+ */
+HM_EXTERN NSString *const HMAccessoryCategoryTypeAudioReceiver API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Category type for AirPort accessories.
+ */
+HM_EXTERN NSString *const HMAccessoryCategoryTypeAirPort API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicDefines.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicDefines.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicDefines.h	2024-04-18 08:15:29
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicDefines.h	2024-05-30 05:11:34
@@ -8,6 +8,8 @@
 
 #import <HomeKit/HMDefines.h>
 
+NS_ASSUME_NONNULL_BEGIN
+
 /*!
  @enum      HMCharacteristicValueLockMechanismLastKnownAction
 
@@ -602,3 +604,222 @@
     HMCharacteristicValueConfigurationStateConfigured = 1,
 } API_AVAILABLE(ios(11.2), watchos(4.2), tvos(11.2), macCatalyst(14.0)) API_UNAVAILABLE(macos);
 
+/*!
+ @enum      HMCharacteristicValueInputSourceType
+
+ @constant  HMCharacteristicValueInputSourceTypeOther           Other.
+ @constant  HMCharacteristicValueInputSourceTypeHomeScreen      Home Screen.
+ @constant  HMCharacteristicValueInputSourceTypeTuner           Tuner.
+ @constant  HMCharacteristicValueInputSourceTypeHDMI            HDMI.
+ @constant  HMCharacteristicValueInputSourceTypeCompositeVideo  Composite Video.
+ @constant  HMCharacteristicValueInputSourceTypeSVideo          S-Video.
+ @constant  HMCharacteristicValueInputSourceTypeComponentVideo  Component Video.
+ @constant  HMCharacteristicValueInputSourceTypeDVI             DVI.
+ @constant  HMCharacteristicValueInputSourceTypeAirPlay         AirPlay.
+ @constant  HMCharacteristicValueInputSourceTypeUSB             USB.
+ @constant  HMCharacteristicValueInputSourceTypeApplication     Application.
+*/
+typedef NS_ENUM(NSInteger, HMCharacteristicValueInputSourceType) {
+    HMCharacteristicValueInputSourceTypeOther = 0,
+    HMCharacteristicValueInputSourceTypeHomeScreen = 1,
+    HMCharacteristicValueInputSourceTypeTuner = 2,
+    HMCharacteristicValueInputSourceTypeHDMI NS_SWIFT_NAME(hdmi) = 3,
+    HMCharacteristicValueInputSourceTypeCompositeVideo = 4,
+    HMCharacteristicValueInputSourceTypeSVideo = 5,
+    HMCharacteristicValueInputSourceTypeComponentVideo = 6,
+    HMCharacteristicValueInputSourceTypeDVI NS_SWIFT_NAME(dvi) = 7,
+    HMCharacteristicValueInputSourceTypeAirPlay = 8,
+    HMCharacteristicValueInputSourceTypeUSB NS_SWIFT_NAME(usb) = 9,
+    HMCharacteristicValueInputSourceTypeApplication = 10,
+} API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ @enum      HMCharacteristicValueInputDeviceType
+
+ @constant  HMCharacteristicValueInputDeviceTypeOther        Other.
+ @constant  HMCharacteristicValueInputDeviceTypeTV           TV.
+ @constant  HMCharacteristicValueInputDeviceTypeRecording    Recording.
+ @constant  HMCharacteristicValueInputDeviceTypeTuner        Tuner.
+ @constant  HMCharacteristicValueInputDeviceTypePlayback     Playback.
+ @constant  HMCharacteristicValueInputDeviceTypeAudioSystem  Audio System.
+ @constant  HMCharacteristicValueInputDeviceTypeNone         None.
+*/
+typedef NS_ENUM(NSInteger, HMCharacteristicValueInputDeviceType) {
+    HMCharacteristicValueInputDeviceTypeOther = 0,
+    HMCharacteristicValueInputDeviceTypeTV NS_SWIFT_NAME(tv) = 1,
+    HMCharacteristicValueInputDeviceTypeRecording = 2,
+    HMCharacteristicValueInputDeviceTypeTuner = 3,
+    HMCharacteristicValueInputDeviceTypePlayback = 4,
+    HMCharacteristicValueInputDeviceTypeAudioSystem = 5,
+    HMCharacteristicValueInputDeviceTypeNone = 6,
+} API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ @enum      HMCharacteristicValueClosedCaptions
+
+ @constant  HMCharacteristicValueClosedCaptionsDisabled  Disabled.
+ @constant  HMCharacteristicValueClosedCaptionsEnabled   Enabled.
+*/
+typedef NS_ENUM(NSInteger, HMCharacteristicValueClosedCaptions) {
+    HMCharacteristicValueClosedCaptionsDisabled = 0,
+    HMCharacteristicValueClosedCaptionsEnabled = 1,
+} API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ @enum      HMCharacteristicValuePowerModeSelection
+
+ @constant  HMCharacteristicValuePowerModeSelectionShow  Show.
+ @constant  HMCharacteristicValuePowerModeSelectionHide  Hide.
+*/
+typedef NS_ENUM(NSInteger, HMCharacteristicValuePowerModeSelection) {
+    HMCharacteristicValuePowerModeSelectionShow = 0,
+    HMCharacteristicValuePowerModeSelectionHide = 1,
+} API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ @enum      HMCharacteristicValueCurrentMediaState
+
+ @constant  HMCharacteristicValueCurrentMediaStatePlaying      Playing content.
+ @constant  HMCharacteristicValueCurrentMediaStatePaused       Paused playback of media content.
+ @constant  HMCharacteristicValueCurrentMediaStateStopped      Stopped playback.
+ @constant  HMCharacteristicValueCurrentMediaStateUnknown      Unknown playback state.
+ @constant  HMCharacteristicValueCurrentMediaStateLoading      Loading content.
+ @constant  HMCharacteristicValueCurrentMediaStateInterrupted  Playback interrupted.
+*/
+typedef NS_ENUM(NSInteger, HMCharacteristicValueCurrentMediaState) {
+    HMCharacteristicValueCurrentMediaStatePlaying = 0,
+    HMCharacteristicValueCurrentMediaStatePaused = 1,
+    HMCharacteristicValueCurrentMediaStateStopped = 2,
+    HMCharacteristicValueCurrentMediaStateUnknown = 3,
+    HMCharacteristicValueCurrentMediaStateLoading = 4,
+    HMCharacteristicValueCurrentMediaStateInterrupted = 5,
+} API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ @enum      HMCharacteristicValueRemoteKey
+
+ @constant  HMCharacteristicValueRemoteKeyRewind         Rewind.
+ @constant  HMCharacteristicValueRemoteKeyFastForward    Fast Forward.
+ @constant  HMCharacteristicValueRemoteKeyNextTrack      Next Track.
+ @constant  HMCharacteristicValueRemoteKeyPreviousTrack  Previous Track.
+ @constant  HMCharacteristicValueRemoteKeyArrowUp        Arrow Up.
+ @constant  HMCharacteristicValueRemoteKeyArrowDown      Arrow Down.
+ @constant  HMCharacteristicValueRemoteKeyArrowLeft      Arrow Left.
+ @constant  HMCharacteristicValueRemoteKeyArrowRight     Arrow Right.
+ @constant  HMCharacteristicValueRemoteKeySelect         Select.
+ @constant  HMCharacteristicValueRemoteKeyBack           Back.
+ @constant  HMCharacteristicValueRemoteKeyExit           Exit.
+ @constant  HMCharacteristicValueRemoteKeyPlayPause      Play Pause.
+ @constant  HMCharacteristicValueRemoteKeyPlay           Play.
+ @constant  HMCharacteristicValueRemoteKeyPause          Pause.
+ @constant  HMCharacteristicValueRemoteKeyMenu           Menu.
+ @constant  HMCharacteristicValueRemoteKeyInfo           Info.
+ @constant  HMCharacteristicValueRemoteKeyHome           Home.
+*/
+typedef NS_ENUM(NSInteger, HMCharacteristicValueRemoteKey) {
+    HMCharacteristicValueRemoteKeyRewind = 0,
+    HMCharacteristicValueRemoteKeyFastForward = 1,
+    HMCharacteristicValueRemoteKeyNextTrack = 2,
+    HMCharacteristicValueRemoteKeyPreviousTrack = 3,
+    HMCharacteristicValueRemoteKeyArrowUp = 4,
+    HMCharacteristicValueRemoteKeyArrowDown = 5,
+    HMCharacteristicValueRemoteKeyArrowLeft = 6,
+    HMCharacteristicValueRemoteKeyArrowRight = 7,
+    HMCharacteristicValueRemoteKeySelect = 8,
+    HMCharacteristicValueRemoteKeyBack = 9,
+    HMCharacteristicValueRemoteKeyExit = 10,
+    HMCharacteristicValueRemoteKeyPlayPause = 11,
+    HMCharacteristicValueRemoteKeyPlay = 12,
+    HMCharacteristicValueRemoteKeyPause = 13,
+    HMCharacteristicValueRemoteKeyMenu = 14,
+    HMCharacteristicValueRemoteKeyInfo = 15,
+    HMCharacteristicValueRemoteKeyHome = 16,
+} API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ @enum      HMCharacteristicValuePictureMode
+
+ @constant  HMCharacteristicValuePictureModeStandard    Standard.
+ @constant  HMCharacteristicValuePictureModeMovie       Movie.
+ @constant  HMCharacteristicValuePictureModeSport       Sport.
+ @constant  HMCharacteristicValuePictureModeGame        Game.
+ @constant  HMCharacteristicValuePictureModePhoto       Photo.
+ @constant  HMCharacteristicValuePictureModeVivid       Vivid.
+ @constant  HMCharacteristicValuePictureModeDark        Dark.
+ @constant  HMCharacteristicValuePictureModeBright      Bright.
+ @constant  HMCharacteristicValuePictureModeComputer    Computer.
+ @constant  HMCharacteristicValuePictureModeNight       Night.
+ @constant  HMCharacteristicValuePictureModeCalibrated  Calibrated.
+ @constant  HMCharacteristicValuePictureModeCustom1     Custom1.
+ @constant  HMCharacteristicValuePictureModeCustom2     Custom2.
+ @constant  HMCharacteristicValuePictureModeCustom3     Custom3.
+*/
+typedef NS_ENUM(NSInteger, HMCharacteristicValuePictureMode) {
+    HMCharacteristicValuePictureModeStandard = 0,
+    HMCharacteristicValuePictureModeMovie = 1,
+    HMCharacteristicValuePictureModeSport = 2,
+    HMCharacteristicValuePictureModeGame = 3,
+    HMCharacteristicValuePictureModePhoto = 4,
+    HMCharacteristicValuePictureModeVivid = 5,
+    HMCharacteristicValuePictureModeDark = 6,
+    HMCharacteristicValuePictureModeBright = 7,
+    HMCharacteristicValuePictureModeComputer = 8,
+    HMCharacteristicValuePictureModeNight = 9,
+    HMCharacteristicValuePictureModeCalibrated = 10,
+    HMCharacteristicValuePictureModeCustom1 = 11,
+    HMCharacteristicValuePictureModeCustom2 = 12,
+    HMCharacteristicValuePictureModeCustom3 = 13,
+} API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ @enum      HMCharacteristicValueTargetVisibilityState
+
+ @constant  HMCharacteristicValueTargetVisibilityStateShow  Show.
+ @constant  HMCharacteristicValueTargetVisibilityStateHide  Hide.
+*/
+typedef NS_ENUM(NSInteger, HMCharacteristicValueTargetVisibilityState) {
+    HMCharacteristicValueTargetVisibilityStateShow = 0,
+    HMCharacteristicValueTargetVisibilityStateHide = 1,
+} API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ @enum      HMCharacteristicValueCurrentVisibilityState
+
+ @constant  HMCharacteristicValueCurrentVisibilityStateShown        The media source is displayed.
+ @constant  HMCharacteristicValueCurrentVisibilityStateHidden       The media source is not displayed.
+ @constant  HMCharacteristicValueCurrentVisibilityStateConnected    The media source is displayed since there is a connected device.
+ @constant  HMCharacteristicValueCurrentVisibilityStateAlwaysShown  The media source is always displayed.
+*/
+typedef NS_ENUM(NSInteger, HMCharacteristicValueCurrentVisibilityState) {
+    HMCharacteristicValueCurrentVisibilityStateShown = 0,
+    HMCharacteristicValueCurrentVisibilityStateHidden = 1,
+    HMCharacteristicValueCurrentVisibilityStateConnected = 2,
+    HMCharacteristicValueCurrentVisibilityStateAlwaysShown = 3,
+} API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ @enum      HMCharacteristicValueRouterStatus
+
+ @constant  HMCharacteristicValueRouterStatusReady     Router has deployed HomeKit configuration.
+ @constant  HMCharacteristicValueRouterStatusNotReady  Router has not deployed HomeKit configuration.
+*/
+typedef NS_ENUM(NSInteger, HMCharacteristicValueRouterStatus) {
+    HMCharacteristicValueRouterStatusReady = 0,
+    HMCharacteristicValueRouterStatusNotReady = 1,
+} API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ @enum      HMCharacteristicValueWiFiSatelliteStatus
+
+ @constant  HMCharacteristicValueWiFiSatelliteStatusUnknown       Unknown.
+ @constant  HMCharacteristicValueWiFiSatelliteStatusConnected     Connected.
+ @constant  HMCharacteristicValueWiFiSatelliteStatusNotConnected  Not Connected.
+*/
+typedef NS_ENUM(NSInteger, HMCharacteristicValueWiFiSatelliteStatus) {
+    HMCharacteristicValueWiFiSatelliteStatusUnknown = 0,
+    HMCharacteristicValueWiFiSatelliteStatusConnected = 1,
+    HMCharacteristicValueWiFiSatelliteStatusNotConnected = 2,
+} API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicTypes.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicTypes.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicTypes.h	2024-04-18 07:17:57
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicTypes.h	2024-05-30 11:25:46
@@ -674,6 +674,56 @@
 HM_EXTERN NSString * const HMCharacteristicTypeIsConfigured API_AVAILABLE(ios(11.2), watchos(4.2), tvos(11.2), macCatalyst(14.0)) API_UNAVAILABLE(macos);
 
 /*!
+ * @brief Characteristic type for input source type. The value of the characteristic is one of the values defined for HMCharacteristicValueInputSourceType.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeInputSourceType API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for input device type. The value of the characteristic is one of the values defined for HMCharacteristicValueInputDeviceType.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeInputDeviceType API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for closed captions. The value of the characteristic is one of the values defined for HMCharacteristicValueClosedCaptions.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeClosedCaptions API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for power mode selection. The value of the characteristic is one of the values defined for HMCharacteristicValuePowerModeSelection.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypePowerModeSelection API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for current media state. The value of the characteristic is one of the values defined for HMCharacteristicValueCurrentMediaState.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeCurrentMediaState API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for remote key. The value of the characteristic is one of the values defined for HMCharacteristicValueRemoteKey.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeRemoteKey API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for picture mode. The value of the characteristic is one of the values defined for HMCharacteristicValuePictureMode.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypePictureMode API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for configured name. The value of the characteristic is a string.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeConfiguredName API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for identifier. The value of the characteristic is a uint32.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeIdentifier API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for active identifier. The value of the characteristic is a uint32.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeActiveIdentifier API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
  * @brief Characteristic type for supported audio stream configuration. The value of the characteristic is TLV8 encoded data.
  */
 HM_EXTERN NSString * const HMCharacteristicTypeSupportedAudioStreamConfiguration API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos);
@@ -692,5 +742,30 @@
  * @brief Characteristic type for night vision. The value of the characteristic is a boolean.
  */
 HM_EXTERN NSString * const HMCharacteristicTypeNightVision API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for target visibility state. The value of the characteristic is one of the values defined for HMCharacteristicValueTargetVisibilityState.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeTargetVisibilityState API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for current visibility state. The value of the characteristic is one of the values defined for HMCharacteristicValueCurrentVisibilityState.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeCurrentVisibilityState API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for router status. The value of the characteristic is one of the values defined for HMCharacteristicValueRouterStatus.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeRouterStatus API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for wan status list. The value of the characteristic is TLV8 encoded data.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeWANStatusList API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Characteristic type for Wi-Fi satellite status. The value of the characteristic is one of the values defined for HMCharacteristicValueWiFiSatelliteStatus.
+ */
+HM_EXTERN NSString * const HMCharacteristicTypeWiFiSatelliteStatus API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMError.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMError.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMError.h	2024-04-18 08:15:30
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMError.h	2024-05-30 11:25:47
@@ -121,7 +121,7 @@
     HMErrorCodeAccessoryCommunicationFailure API_AVAILABLE(ios(14.0)) = 101,
     HMErrorCodeFailedToJoinNetwork API_AVAILABLE(ios(14.0)) = 102,
     HMErrorCodeAccessoryIsSuspended API_AVAILABLE(ios(15.0)) = 103,
-    HMErrorCodePartialCommunicationFailure = 104,
+    HMErrorCodePartialCommunicationFailure API_AVAILABLE(ios(17.4), tvos(17.4), watchos(10.4), visionos(1.1)) API_UNAVAILABLE(macos) = 104,
 } API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos);
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMServiceTypes.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMServiceTypes.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMServiceTypes.h	2024-04-18 07:33:33
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMServiceTypes.h	2024-05-30 04:39:14
@@ -224,8 +224,28 @@
 HM_EXTERN NSString * const HMServiceTypeHumidifierDehumidifier API_AVAILABLE(ios(10.2), watchos(3.1.1), tvos(10.1), macCatalyst(14.0)) API_UNAVAILABLE(macos);
 
 /*!
+ * @brief Service type for television.
+ */
+HM_EXTERN NSString * const HMServiceTypeTelevision API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Service type for input source.
+ */
+HM_EXTERN NSString * const HMServiceTypeInputSource API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
  * @brief Service type for doorbell.
  */
 HM_EXTERN NSString * const HMServiceTypeDoorbell API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Service type for Wi-Fi router.
+ */
+HM_EXTERN NSString * const HMServiceTypeWiFiRouter API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
+
+/*!
+ * @brief Service type for Wi-Fi satellite.
+ */
+HM_EXTERN NSString * const HMServiceTypeWiFiSatellite API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
 
 NS_ASSUME_NONNULL_END
Clone this wiki locally