| | |
| | | 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 |
| | | |
| | |
| | | /*! |
| | | @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. |
| | | */ |
| | |
| | | |
| | | @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. |