From dd31df23c4a4b0ab5357014bf822a3704cf21621 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 25 十一月 2021 16:51:01 +0800
Subject: [PATCH] 2021-11-25 1.更新
---
Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/ApiDefinition.cs | 87 ++++++++++++++++++++++---------------------
1 files changed, 44 insertions(+), 43 deletions(-)
diff --git a/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/ApiDefinition.cs b/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/ApiDefinition.cs
index d098ab4..2905663 100644
--- a/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/ApiDefinition.cs
+++ b/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/ApiDefinition.cs
@@ -6,6 +6,44 @@
namespace HDLSceneSiri
{
+
+ // @interface HDLSiriSceneListViewController : UIViewController <UITableViewDataSource, UITableViewDelegate>
+ [BaseType(typeof(UIViewController))]
+ interface HDLSiriSceneListViewController : IUITableViewDataSource, IUITableViewDelegate
+ {
+ // @property (assign, nonatomic) UITableViewStyle tableViewStyle;
+ [Export("tableViewStyle", ArgumentSemantic.Assign)]
+ UITableViewStyle TableViewStyle { get; set; }
+
+ // @property (nonatomic, strong) UITableView * _Nonnull tableView;
+ [Export("tableView", ArgumentSemantic.Strong)]
+ UITableView TableView { get; set; }
+
+ [Wrap("WeakDataSource")]
+ NSMutableArray DataSource { get; set; }
+
+ // @property (nonatomic, strong) NSMutableArray * _Nonnull dataSource;
+ [NullAllowed, Export("dataSource", ArgumentSemantic.Strong)]
+ NSObject WeakDataSource { get; set; }
+
+ // @property (nonatomic, strong) NSString * _Nonnull titleName;
+ [Export("titleName", ArgumentSemantic.Strong)]
+ string TitleName { get; set; }
+ }
+
+ // @interface HDLSiriSceneModel : NSObject
+ [BaseType(typeof(NSObject))]
+ interface HDLSiriSceneModel
+ {
+ // @property (copy, nonatomic) NSString * _Nonnull userSceneId;
+ [Export("userSceneId")]
+ string UserSceneId { get; set; }
+
+ // @property (copy, nonatomic) NSString * _Nonnull name;
+ [Export("name")]
+ string Name { get; set; }
+ }
+
// @interface HDLRunSceneIntent : INIntent
[Watch(5, 0), NoTV, Mac(11, 0), iOS(12, 0)]
[BaseType(typeof(INIntent))]
@@ -35,14 +73,14 @@
[BaseType(typeof(NSObject))]
interface HDLRunSceneIntentHandling
{
- // @required -(void)handleRunScene:(HDLRunSceneIntent * _Nonnull)intent completion:(void (^ _Nonnull)(HDLRunSceneIntentResponse * _Nonnull))completion __attribute__((swift_name("handle(intent:completion:)")));
+ // @required -(void)handleHDLRunScene:(HDLRunSceneIntent * _Nonnull)intent completion:(void (^ _Nonnull)(HDLRunSceneIntentResponse * _Nonnull))completion __attribute__((swift_name("handle(intent:completion:)")));
[Abstract]
- [Export("handleRunScene:completion:")]
- void HandleRunScene(HDLRunSceneIntent intent, Action<HDLRunSceneIntentResponse> completion);
+ [Export("handleHDLRunScene:completion:")]
+ void HandleHDLRunScene(HDLRunSceneIntent intent, Action<HDLRunSceneIntentResponse> completion);
- // @optional -(void)confirmRunScene:(HDLRunSceneIntent * _Nonnull)intent completion:(void (^ _Nonnull)(HDLRunSceneIntentResponse * _Nonnull))completion __attribute__((swift_name("confirm(intent:completion:)")));
- [Export("confirmRunScene:completion:")]
- void ConfirmRunScene(HDLRunSceneIntent intent, Action<HDLRunSceneIntentResponse> completion);
+ // @optional -(void)confirmHDLRunScene:(HDLRunSceneIntent * _Nonnull)intent completion:(void (^ _Nonnull)(HDLRunSceneIntentResponse * _Nonnull))completion __attribute__((swift_name("confirm(intent:completion:)")));
+ [Export("confirmHDLRunScene:completion:")]
+ void ConfirmHDLRunScene(HDLRunSceneIntent intent, Action<HDLRunSceneIntentResponse> completion);
}
// @interface HDLRunSceneIntentResponse : INIntentResponse
@@ -81,42 +119,5 @@
// @property (readonly, nonatomic) HDLRunSceneIntentResponseCode code;
[Export("code")]
HDLRunSceneIntentResponseCode Code { get; }
- }
-
- // @interface HDLSiriSceneListViewController : UIViewController <UITableViewDataSource, UITableViewDelegate>
- [BaseType(typeof(UIViewController))]
- interface HDLSiriSceneListViewController : IUITableViewDataSource, IUITableViewDelegate
- {
- // @property (assign, nonatomic) UITableViewStyle tableViewStyle;
- [Export("tableViewStyle", ArgumentSemantic.Assign)]
- UITableViewStyle TableViewStyle { get; set; }
-
- // @property (nonatomic, strong) UITableView * _Nonnull tableView;
- [Export("tableView", ArgumentSemantic.Strong)]
- UITableView TableView { get; set; }
-
- [Wrap("WeakDataSource")]
- NSMutableArray DataSource { get; set; }
-
- // @property (nonatomic, strong) NSMutableArray * _Nonnull dataSource;
- [NullAllowed, Export("dataSource", ArgumentSemantic.Strong)]
- NSObject WeakDataSource { get; set; }
-
- // @property (nonatomic, strong) NSString * _Nonnull titleName;
- [Export("titleName", ArgumentSemantic.Strong)]
- string TitleName { get; set; }
- }
-
- // @interface HDLSiriSceneModel : NSObject
- [BaseType(typeof(NSObject))]
- interface HDLSiriSceneModel
- {
- // @property (copy, nonatomic) NSString * _Nonnull userSceneId;
- [Export("userSceneId")]
- string UserSceneId { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nonnull name;
- [Export("name")]
- string Name { get; set; }
}
}
--
Gitblit v1.8.0