using System;
|
|
using ObjCRuntime;
|
using Foundation;
|
using UIKit;
|
|
namespace EZSDK.IOS
|
{
|
// @interface EZSDK : NSObject
|
[BaseType(typeof(NSObject))]
|
interface EZSDK
|
{
|
// +(BOOL)initLibWithAppKey:(NSString *)appKey globalAppKey:(NSString *)globalAppKey;
|
[Static]
|
[Export("initLibWithAppKey:globalAppKey:")]
|
bool InitLibWithAppKey(string appKey, string globalAppKey);
|
|
// +(void)setEZAccessToken:(NSString *)accessToken;
|
[Static]
|
[Export("setEZAccessToken:")]
|
void SetEZAccessToken(string accessToken);
|
|
// +(void)setHDlAccessToken:(NSString *)accessToken refreshToken:(NSString *)refreshToken;
|
[Static]
|
[Export("setHDlAccessToken:refreshToken:")]
|
void SetHDlAccessToken(string accessToken, string refreshToken);
|
|
// +(void)go2EZvizMonitor;
|
[Static]
|
[Export("go2EZvizMonitor")]
|
void Go2EZvizMonitor();
|
|
// +(void)addEzvizMonitor;
|
[Static]
|
[Export("addEzvizMonitor")]
|
void AddEzvizMonitor();
|
|
// +(void)Play:(NSObject *)deviceInfo;
|
[Static]
|
[Export("Play:")]
|
void Play(NSObject deviceInfo);
|
|
// +(void)setting:(NSObject *)deviceInfo;
|
[Static]
|
[Export("setting:")]
|
void Setting(NSObject deviceInfo);
|
|
// +(void)playBackVideo:(NSObject *)deviceInfo;
|
[Static]
|
[Export("playBackVideo:")]
|
void PlayBackVideo(NSObject deviceInfo);
|
}
|
}
|