From 06c09ecbdf83cc5cc33971ffb75ba81e85b6eb33 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 29 十一月 2021 15:31:26 +0800
Subject: [PATCH] 2021-11-29 1.更新

---
 HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.h |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.h b/HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.h
index 86ad44c..e045e16 100644
--- a/HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.h
+++ b/HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.h
@@ -13,8 +13,12 @@
 API_AVAILABLE(ios(12.0), macos(10.16), watchos(5.0)) API_UNAVAILABLE(tvos)
 @interface HDLRunSceneIntent : INIntent
 
-@property (readwrite, copy, nullable, nonatomic) NSString *sceneName;
-@property (readwrite, copy, nullable, nonatomic) NSString *sceneId;
+@property (readwrite, copy, nullable, nonatomic) NSString *controlName;
+@property (readwrite, copy, nullable, nonatomic) NSString *controlId;
+@property (readwrite, copy, nullable, nonatomic) NSString *homeId;
+@property (readwrite, copy, nullable, nonatomic) NSString *controlType;
+@property (readwrite, copy, nullable, nonatomic) NSString *controlJSONStr;
+@property (readwrite, copy, nullable, nonatomic) NSString *actionName;
 
 @end
 
@@ -38,7 +42,7 @@
 
  @see  HDLRunSceneIntentResponse
  */
-- (void)handleRunScene:(HDLRunSceneIntent *)intent completion:(void (^)(HDLRunSceneIntentResponse *response))completion NS_SWIFT_NAME(handle(intent:completion:));
+- (void)handleHDLRunScene:(HDLRunSceneIntent *)intent completion:(void (^)(HDLRunSceneIntentResponse *response))completion NS_SWIFT_NAME(handle(intent:completion:));
 
 @optional
 
@@ -51,7 +55,7 @@
 
  @see HDLRunSceneIntentResponse
  */
-- (void)confirmRunScene:(HDLRunSceneIntent *)intent completion:(void (^)(HDLRunSceneIntentResponse *response))completion NS_SWIFT_NAME(confirm(intent:completion:));
+- (void)confirmHDLRunScene:(HDLRunSceneIntent *)intent completion:(void (^)(HDLRunSceneIntentResponse *response))completion NS_SWIFT_NAME(confirm(intent:completion:));
 
 @end
 
@@ -86,7 +90,7 @@
 /*!
  @abstract Initializes and returns the response object with the success code.
  */
-+ (instancetype)successIntentResponseWithSceneName:(NSString *)sceneName NS_SWIFT_NAME(success(sceneName:));
++ (instancetype)successIntentResponseWithControlName:(NSString *)controlName NS_SWIFT_NAME(success(controlName:));
 /*!
  @abstract Initializes and returns the response object with the failure code.
  */
@@ -94,7 +98,7 @@
 
 @property (readwrite, copy, nullable, nonatomic) NSString *errorMessage;
 @property (readwrite, copy, nullable, nonatomic) NSString *successMessage;
-@property (readwrite, copy, nullable, nonatomic) NSString *sceneName;
+@property (readwrite, copy, nullable, nonatomic) NSString *controlName;
 
 /*!
  @abstract The response code indicating your success or failure in confirming or handling the intent.

--
Gitblit v1.8.0