萤石云 iOSSDK,移植跨平台相关工程
JLChen
2021-02-03 4715e99a9be1c50d8ec31f594af9ebde18647c94
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
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)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);
    }
}