JLChen
2021-04-01 bf7f42bc3b63a0c2cec5a5adfb44feffab47a077
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
using System;
 
using ObjCRuntime;
using Foundation;
using UIKit;
 
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; }
    }
 
}