| | |
| | | |
| | | 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))] |
| | |
| | | [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 |
| | |
| | | // @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; } |
| | | } |
| | | } |