From 2e82c7f03b0833e3a149d02453d66d8db133b2ce Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 29 十一月 2021 13:36:20 +0800 Subject: [PATCH] 2021-11-29 1.实现ON+设计的UI --- HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.h | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.h b/HDLSceneSiri/HDLSceneSiri/HDLRunSceneIntent.h index 59b23b5..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 @@ -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