using System;
|
|
using ObjCRuntime;
|
using Foundation;
|
using UIKit;
|
|
namespace Shared.IOS.ESVideoOnSDK
|
{
|
// @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; }
|
}
|
|
// @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; }
|
}
|
|
// @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();
|
}
|
|
}
|