| | |
| | | #import <UIKit/UIKit.h> |
| | | #import <Intents/Intents.h> |
| | | #import <IntentsUI/IntentsUI.h> |
| | | #import "HDLSiriShortcutModel.h" |
| | | #import "HDLRunSceneIntent.h" |
| | | #import "HDLSiriSceneModel.h" |
| | | |
| | | //#import <HDLSmartKit/HDLSceneModel.h> |
| | | |
| | |
| | | |
| | | @interface HDLSiriSceneListCell : UITableViewCell |
| | | |
| | | @property (nonatomic, strong) UIView *bgView;//背景View |
| | | //@property (nonatomic, strong) UIView *bgView;//背景View |
| | | @property (nonatomic, strong) UILabel *titleLabel;//场景标题 |
| | | @property (nonatomic, strong) UIView *lineView;//分割线View |
| | | @property (nonatomic, strong) INUIAddVoiceShortcutButton API_AVAILABLE(ios(12.0)) *shortcutButton;//快捷指令按钮 |
| | | |
| | | @property (nonatomic, strong) HDLSiriSceneModel *model;//场景model |
| | | @property (nonatomic, strong) HDLSiriControlModel *model;//场景model |
| | | @property (nonatomic, strong) NSString *homeId; |
| | | |
| | | -(void)initModel:(HDLSiriSceneModel *)model intent:(HDLRunSceneIntent*)intent API_AVAILABLE(ios(12.0)); |
| | | -(void)initModel:(HDLSiriControlModel *)model intent:(HDLRunSceneIntent*)intent API_AVAILABLE(ios(12.0)); |
| | | |
| | | @end |
| | | |