| | |
| | | using System; |
| | | using Foundation; |
| | | using Foundation; |
| | | using ObjCRuntime; |
| | | |
| | | namespace EZSDK.IOS |
| | | { |
| | | // @interface EZDeviceInfo : NSObject |
| | | // @protocol EZSDKDelegate <NSObject> |
| | | [Protocol, Model(AutoGeneratedName = true)] |
| | | [BaseType(typeof(NSObject))] |
| | | interface EZDeviceInfo |
| | | interface EZSDKDelegate |
| | | { |
| | | // @property (nonatomic, strong) NSArray * cameraInfo; |
| | | [Export("cameraInfo", ArgumentSemantic.Strong)] |
| | | //[Verify(StronglyTypedNSArray)] |
| | | NSArray CameraInfo { get; set; } |
| | | |
| | | // @property (nonatomic) NSInteger cameraNum; |
| | | [Export("cameraNum")] |
| | | int CameraNum { get; set; } |
| | | |
| | | // @property (nonatomic) NSInteger defence; |
| | | [Export("defence")] |
| | | int Defence { get; set; } |
| | | |
| | | // @property (nonatomic) NSInteger detectorNum; |
| | | [Export("detectorNum")] |
| | | int DetectorNum { get; set; } |
| | | |
| | | // @property (nonatomic, strong) NSArray * detectorInfo; |
| | | [Export("detectorInfo", ArgumentSemantic.Strong)] |
| | | //[Verify(StronglyTypedNSArray)] |
| | | NSArray DetectorInfo { get; set; } |
| | | |
| | | // @property (copy, nonatomic) NSString * deviceCover; |
| | | [Export("deviceCover")] |
| | | string DeviceCover { get; set; } |
| | | |
| | | // @property (copy, nonatomic) NSString * deviceName; |
| | | [Export("deviceName")] |
| | | string DeviceName { get; set; } |
| | | |
| | | // @property (copy, nonatomic) NSString * deviceSerial; |
| | | [Export("deviceSerial")] |
| | | string DeviceSerial { get; set; } |
| | | |
| | | // @property (copy, nonatomic) NSString * deviceType; |
| | | [Export("deviceType")] |
| | | string DeviceType { get; set; } |
| | | |
| | | // @property (copy, nonatomic) NSString * deviceVersion; |
| | | [Export("deviceVersion")] |
| | | string DeviceVersion { get; set; } |
| | | |
| | | // @property (nonatomic) BOOL isEncrypt; |
| | | [Export("isEncrypt")] |
| | | bool IsEncrypt { get; set; } |
| | | |
| | | // @property (nonatomic) NSInteger status; |
| | | [Export("status")] |
| | | nint Status { get; set; } |
| | | |
| | | // @property (nonatomic) NSInteger isSupportTalk; |
| | | [Export("isSupportTalk")] |
| | | int IsSupportTalk { get; set; } |
| | | |
| | | // @property (nonatomic) BOOL isSupportPTZ; |
| | | [Export("isSupportPTZ")] |
| | | bool IsSupportPTZ { get; set; } |
| | | |
| | | // @property (nonatomic) BOOL isSupportZoom; |
| | | [Export("isSupportZoom")] |
| | | bool IsSupportZoom { get; set; } |
| | | |
| | | // @property (nonatomic) BOOL isSupportAudioOnOff; |
| | | [Export("isSupportAudioOnOff")] |
| | | bool IsSupportAudioOnOff { get; set; } |
| | | |
| | | // @property (nonatomic) BOOL isSupportMirrorCenter; |
| | | [Export("isSupportMirrorCenter")] |
| | | bool IsSupportMirrorCenter { get; set; } |
| | | |
| | | // @property (nonatomic) BOOL isSupportSoundWave; |
| | | [Export("isSupportSoundWave")] |
| | | bool IsSupportSoundWave { get; set; } |
| | | |
| | | // @property (copy, nonatomic) NSString * category; |
| | | [Export("category")] |
| | | string Category { get; set; } |
| | | |
| | | // @property (nonatomic, strong) NSDate * addTime; |
| | | [Export("addTime", ArgumentSemantic.Strong)] |
| | | NSDate AddTime { get; set; } |
| | | // @required -(void)addDeviceSuccessed; |
| | | [Abstract] |
| | | [Export("addDeviceSuccessed")] |
| | | void AddDeviceSuccessed(); |
| | | } |
| | | |
| | | // @interface EZSDK : NSObject |
| | | [BaseType(typeof(NSObject))] |
| | | interface EZSDK |
| | | { |
| | | [Wrap("WeakDelegate")] |
| | | EZSDKDelegate Delegate { get; set; } |
| | | |
| | | // @property (nonatomic, weak) id<EZSDKDelegate> delegate; |
| | | [NullAllowed, Export("delegate", ArgumentSemantic.Weak)] |
| | | NSObject WeakDelegate { get; set; } |
| | | |
| | | // +(instancetype)sharedInstance; |
| | | [Static] |
| | | [Export("sharedInstance")] |
| | |
| | | [Export("go2EZvizMonitor")] |
| | | void Go2EZvizMonitor(); |
| | | |
| | | // -(void)toEZDeviceListViewWithFilterTypes:(NSArray *)filterTepes; |
| | | [Export("toEZDeviceListViewWithFilterTypes:")] |
| | | //[Verify(StronglyTypedNSArray)] |
| | | void ToEZDeviceListViewWithFilterTypes(NSObject[] filterTepes); |
| | | |
| | | // -(void)addEzvizMonitor; |
| | | [Export("addEzvizMonitor")] |
| | | void AddEzvizMonitor(); |
| | | |
| | | // -(void)Play:(EZDeviceInfo *)deviceInfo; |
| | | // -(void)addEzvizMonitorWithDeviceType:(NSString *)deviceType; |
| | | [Export("addEzvizMonitorWithDeviceType:")] |
| | | void AddEzvizMonitorWithDeviceType(string deviceType); |
| | | |
| | | // -(void)Play:(id)deviceInfo; |
| | | [Export("Play:")] |
| | | void Play(EZDeviceInfo deviceInfo); |
| | | void Play(NSObject deviceInfo); |
| | | |
| | | // -(void)PlayWithDeviceSerial:(NSString *)deviceSerial; |
| | | [Export("PlayWithDeviceSerial:")] |
| | | void PlayWithDeviceSerial(string deviceSerial); |
| | | |
| | | // -(void)setting:(EZDeviceInfo *)deviceInfo; |
| | | [Export("setting:")] |
| | | void Setting(EZDeviceInfo deviceInfo); |
| | | // -(void)PlayWithDeviceSerial:(NSString *)deviceSerial deviceId:(NSString *)deviceId deviceType:(NSString *)deviceType; |
| | | [Export("PlayWithDeviceSerial:deviceId:deviceType:")] |
| | | void PlayWithDeviceSerial(string deviceSerial, string deviceId, string deviceType); |
| | | |
| | | // -(void)playBackVideo:(EZDeviceInfo *)deviceInfo; |
| | | // -(void)setting:(id)deviceInfo; |
| | | [Export("setting:")] |
| | | void Setting(NSObject deviceInfo); |
| | | |
| | | // -(void)playBackVideo:(id)deviceInfo; |
| | | [Export("playBackVideo:")] |
| | | void PlayBackVideo(EZDeviceInfo deviceInfo); |
| | | void PlayBackVideo(NSObject deviceInfo); |
| | | |
| | | // -(void)toTemPassView:(NSString *)deviceId; |
| | | [Export("toTemPassView:")] |
| | | void ToTemPassView(string deviceId); |
| | | |
| | | // -(void)toDeviceMsgListView:(NSString *)deviceId; |
| | | [Export("toDeviceMsgListView:")] |
| | | void ToDeviceMsgListView(string deviceId); |
| | | } |
| | | } |