Skip to content

HomeKit tvOS xcode13.0 beta2

tj_devel709 edited this page Jul 9, 2021 · 3 revisions

#HomeKit.framework https://github.com/xamarin/xamarin-macios/pull/12092

diff -ruN /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCHIPServiceRequestHandler.h /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCHIPServiceRequestHandler.h
--- /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCHIPServiceRequestHandler.h	2021-06-02 05:36:18.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCHIPServiceRequestHandler.h	2021-06-17 03:44:26.000000000 -0400
@@ -18,23 +18,23 @@
 
 /**
  * @abstract Use this method to vend the rooms that correspond to a given home to accessory setup. iOS will issue this request before presenting the "Select Room" card.
- * @param home The home for which iOS is requesting rooms
- * @param completion Invoke the completion block with the requested rooms or an optional error
+ * @param home The home for which iOS is requesting rooms.
+ * @param completion Invoke the completion block with the requested rooms or an optional error.
  */
 - (void)fetchRoomsInHome:(HMCHIPServiceHome *)home completion:(void (^)(NSArray<HMCHIPServiceRoom *> * _Nullable, NSError * _Nullable))completion NS_SWIFT_ASYNC_NAME(rooms(in:));
 
 /*!
- * @abstract When this method is invoked, pair with the given accessory payload
- * @param pairingIdentifier The CHIP pairing identifier to pair with. Can be parsed as a manual entered string
- * @param completion Invoke the completion handler with an optional error after pairing
+ * @abstract When this method is invoked, pair with the given accessory payload.
+ * @param onboardingPayload The onboarding payload your CHIP stack will use to pair with the accessory.
+ * @param completion Invoke the completion handler with an optional error after pairing.
  */
-- (void)pairAccessoryInHome:(HMCHIPServiceHome *)home pairingIdentifier:(NSString *)pairingIdentifier completion:(void(^)( NSError * _Nullable ))completion;
+- (void)pairAccessoryInHome:(HMCHIPServiceHome *)home onboardingPayload:(NSString *)onboardingPayload completion:(void(^)( NSError * _Nullable ))completion;
 
 /*!
  * @abstract When this method is invoked, configure the accessory with user selected attributes.
- * @param accessoryName The user given name for the accessory
- * @param accessoryRoom The user selected room for the accessory
- * @param completion Invoke the completion handler with an optional error after configuration
+ * @param accessoryName The user given name for the accessory.
+ * @param accessoryRoom The user selected room for the accessory.
+ * @param completion Invoke the completion handler with an optional error after configuration.
  */
 - (void)configureAccessoryWithName:(NSString *)accessoryName room:(HMCHIPServiceRoom *)accessoryRoom completion:(void(^)( NSError * _Nullable ))completion NS_SWIFT_NAME(configureAccessory(named:room:completion:));
 
Clone this wiki locally