summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs
blob: d572083f6214967704df134e5d7a6b40f69b5be0 (plain)
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
using System;
using UnityEngine;

namespace XUtliPoolLib
{
	public interface IXIFlyMgr : IXInterface
	{
		int StartRecord();

		void StopRecord();

		void Cancel();

		string StartTransMp3(string destFileName);

		AudioClip GetAudioClip(string filepath);

		void SetCallback(Action<string> action);

		void SetVoiceCallback(Action<string> action);

		bool IsIFlyListening();

		bool IsRecordFileExist();

		bool IsInited();

		bool ScreenShotQQShare(string filepath, string isZone);

		bool ScreenShotWeChatShare(string filepath, string isZone);

		bool ScreenShotSave(string filepath);

		bool RefreshAndroidPhotoView(string androidpath);

		bool ShareWechatLink(string desc, string logopath, string url, bool issession);

		bool ShareWechatLinkWithMediaTag(string desc, string logopath, string url, bool issession, string media);

		bool ShareQZoneLink(string title, string summary, string url, string logopath, bool issession);

		bool OnOpenWebView();

		void OnInitWebViewInfo(int platform, string openid, string serverid, string roleid, string nickname);

		void OnEvalJsScript(string script);

		void OnCloseWebView();

		void OnScreenLock(bool islock);

		void RefershWebViewShow(bool show);

		MonoBehaviour GetMonoBehavior();
	}
}