From f26dfd48aa7bf4c194863cc3b3f47d38bc8a2d57 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 26 十一月 2021 09:20:45 +0800 Subject: [PATCH] 2021-11-26 1.更新 --- Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/ApiDefinition.cs | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/ApiDefinition.cs b/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/ApiDefinition.cs index 2905663..38b1264 100644 --- a/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/ApiDefinition.cs +++ b/Shared.IOS.HDLSceneSiri/Shared.IOS.HDLSceneSiri/ApiDefinition.cs @@ -45,7 +45,7 @@ } // @interface HDLRunSceneIntent : INIntent - [Watch(5, 0), NoTV, Mac(11, 0), iOS(12, 0)] + //[Watch(5, 0), NoTV, Mac(11, 0), iOS(12, 0)] [BaseType(typeof(INIntent))] interface HDLRunSceneIntent { @@ -68,9 +68,11 @@ protocol, then [Model] is redundant and will generate code that will never be used. */ - [Watch(5, 0), NoTV, Mac(11, 0), iOS(12, 0)] - [Protocol] - [BaseType(typeof(NSObject))] + + //[Watch(5, 0), NoTV, Mac(11, 0), iOS(12, 0)] + //[Protocol] + [Protocol, Model] + [BaseType(typeof(NSObject))] interface HDLRunSceneIntentHandling { // @required -(void)handleHDLRunScene:(HDLRunSceneIntent * _Nonnull)intent completion:(void (^ _Nonnull)(HDLRunSceneIntentResponse * _Nonnull))completion __attribute__((swift_name("handle(intent:completion:)"))); @@ -84,7 +86,7 @@ } // @interface HDLRunSceneIntentResponse : INIntentResponse - [Watch(5, 0), NoTV, Mac(11, 0), iOS(12, 0)] + //[Watch(5, 0), NoTV, Mac(11, 0), iOS(12, 0)] [BaseType(typeof(INIntentResponse))] [DisableDefaultCtor] interface HDLRunSceneIntentResponse -- Gitblit v1.8.0