JLChen
2021-04-30 a5247b61d585627a1a7b1e1f35f34de9f0af9fba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
using System;
 
using ObjCRuntime;
using Foundation;
using UIKit;
 
/// <summary>
/// V2.0.1
/// ## ON乐橙和丰林同时合并一起打包生成DLL库
/// </summary>
namespace Shared.IOS.ESVideoOnSDK
{
    // @interface ESVideo : NSObject
    [BaseType(typeof(NSObject))]
    interface ESVideo
    {
        //// @property (nonatomic, strong) int * _Nonnull es;
        //[Export("es", ArgumentSemantic.Strong)]
        //unsafe int* Es { get; set; }
 
        //// @property (copy, nonatomic) int snapImageCallback;
        //[Export("snapImageCallback", ArgumentSemantic.Copy)]
        //int SnapImageCallback { get; set; }
 
        // +(instancetype _Nonnull)shareInstance;
        [Static]
        [Export("shareInstance")]
        ESVideo ShareInstance();
 
        // +(void)haltSharedInstance;
        [Static]
        [Export("haltSharedInstance")]
        void HaltSharedInstance();
 
        // -(void)initSDK;
        [Export("initSDK")]
        void InitSDK();
    }
 
    // @protocol ESCallDelegate <NSObject>
    [Protocol, Model(AutoGeneratedName = true)]
    [BaseType(typeof(NSObject))]
    interface ESCallDelegate
    {
        // @required -(void)onAnswerAction;
        [Abstract]
        [Export("onAnswerAction")]
        void OnAnswerAction();
 
        // @required -(void)onRejectCallAction;
        [Abstract]
        [Export("onRejectCallAction")]
        void OnRejectCallAction();
 
        // @required -(void)onUnlockAction;
        [Abstract]
        [Export("onUnlockAction")]
        void OnUnlockAction();
 
        // @required -(void)onHangUpAction:(int)callDuration;
        [Abstract]
        [Export("onHangUpAction:")]
        void OnHangUpAction(int callDuration);
 
        // @required -(void)onScreenshotSuccessfulAction:(UIImage * _Nonnull)image;
        [Abstract]
        [Export("onScreenshotSuccessfulAction:")]
        void OnScreenshotSuccessfulAction(UIImage image);
    }
 
    //// @interface ESCallDelegate : NSObject
    //[BaseType(typeof(NSObject))]
    //interface ESCallDelegate
    //{
    //}
 
    // @interface ESOnIntercomViewController : UIViewController
    [BaseType(typeof(UIViewController))]
    interface ESOnIntercomViewController
    {
        // @property (nonatomic, strong) NSString * _Nonnull mESVideoID;
        [Export("mESVideoID", ArgumentSemantic.Strong)]
        string MESVideoID { get; set; }
 
        // @property (assign, nonatomic) int mESRoomID;
        [Export("mESRoomID")]
        int MESRoomID { get; set; }
 
        // @property (nonatomic, strong) NSString * _Nonnull roomName;
        [Export("roomName", ArgumentSemantic.Strong)]
        string RoomName { get; set; }
 
        // @property (nonatomic, strong) NSString * _Nonnull deviceName;
        [Export("deviceName", ArgumentSemantic.Strong)]
        string DeviceName { get; set; }
 
        [Wrap("WeakMESCallDelegate")]
        [NullAllowed]
        ESCallDelegate MESCallDelegate { get; set; }
 
        // @property (nonatomic, weak) id<ESCallDelegate> _Nullable mESCallDelegate;
        [NullAllowed, Export("mESCallDelegate", ArgumentSemantic.Weak)]
        NSObject WeakMESCallDelegate { get; set; }
    }
 
    // @interface ESOnMonitorViewController : UIViewController
    [BaseType(typeof(UIViewController))]
    interface ESOnMonitorViewController
    {
        // @property (nonatomic, strong) NSString * _Nonnull mESVideoID;
        [Export("mESVideoID", ArgumentSemantic.Strong)]
        string MESVideoID { get; set; }
 
        // @property (assign, nonatomic) int mESRoomID;
        [Export("mESRoomID")]
        int MESRoomID { get; set; }
 
        // @property (nonatomic, strong) NSString * _Nonnull roomName;
        [Export("roomName", ArgumentSemantic.Strong)]
        string RoomName { get; set; }
 
        // @property (nonatomic, strong) NSString * _Nonnull deviceName;
        [Export("deviceName", ArgumentSemantic.Strong)]
        string DeviceName { get; set; }
 
        [Wrap("WeakMESCallDelegate")]
        [NullAllowed]
        ESCallDelegate MESCallDelegate { get; set; }
 
        // @property (nonatomic, weak) id<ESCallDelegate> _Nullable mESCallDelegate;
        [NullAllowed, Export("mESCallDelegate", ArgumentSemantic.Weak)]
        NSObject WeakMESCallDelegate { get; set; }
    }
 
 
    ////*******************乐橙可视对讲*********************
    //// @interface LCApiKit : NSObject
    //[BaseType(typeof(NSObject))]
    //interface LCApiKit
    //{
    //    // +(instancetype _Nonnull)sharedInstance;
    //    [Static]
    //    [Export("sharedInstance")]
    //    LCApiKit SharedInstance();
 
    //    // @property (nonatomic, strong) NSString * _Nonnull lcSdkToken;
    //    [Export("lcSdkToken", ArgumentSemantic.Strong)]
    //    string LcSdkToken { get; set; }
 
    //    // @property (nonatomic, strong) NSString * _Nonnull sdkHostApi;
    //    [Export("sdkHostApi", ArgumentSemantic.Strong)]
    //    string SdkHostApi { get; set; }
 
    //    // @property (assign, nonatomic) _Bool isChinaMainland;
    //    [Export("isChinaMainland")]
    //    bool IsChinaMainland { get; set; }
 
    //    // @property (nonatomic, strong) NSString * _Nonnull currentDeviceId;
    //    [Export("currentDeviceId", ArgumentSemantic.Strong)]
    //    string CurrentDeviceId { get; set; }
 
    //    // @property (nonatomic, strong) NSString * _Nonnull currentDeviceName;
    //    [Export("currentDeviceName", ArgumentSemantic.Strong)]
    //    string CurrentDeviceName { get; set; }
 
    //    // @property (nonatomic, strong) NSString * _Nonnull currentPsk;
    //    [Export("currentPsk", ArgumentSemantic.Strong)]
    //    string CurrentPsk { get; set; }
 
    //    // @property (nonatomic, strong) NSString * _Nonnull currentDevicePlayToken;
    //    [Export("currentDevicePlayToken", ArgumentSemantic.Strong)]
    //    string CurrentDevicePlayToken { get; set; }
 
    //    // -(NSString * _Nonnull)LCSDKHost;
    //    [Export("LCSDKHost")]
    //    //[Verify(MethodToProperty)]
    //    string LCSDKHost { get; }
 
    //    // -(NSInteger)LCSDKPort;
    //    [Export("LCSDKPort")]
    //    //[Verify(MethodToProperty)]
    //    nint LCSDKPort { get; }
 
    //    // -(void)initSDKOpenApi:(NSString * _Nonnull)lcToken;
    //    [Export("initSDKOpenApi:")]
    //    void InitSDKOpenApi(string lcToken);
    //}
 
    //// @interface LCOnIntercomViewController : UIViewController
    //[BaseType(typeof(UIViewController))]
    //interface LCOnIntercomViewController
    //{
    //    [Wrap("WeakMESCallDelegate")]
    //    [NullAllowed]
    //    ESCallDelegate MESCallDelegate { get; set; }
 
    //    // @property (nonatomic, weak) id<ESCallDelegate> _Nullable mESCallDelegate;
    //    [NullAllowed, Export("mESCallDelegate", ArgumentSemantic.Weak)]
    //    NSObject WeakMESCallDelegate { get; set; }
    //}
 
    //// @interface LCOnMonitorViewController : UIViewController
    //[BaseType(typeof(UIViewController))]
    //interface LCOnMonitorViewController
    //{
    //}
 
}