summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs')
-rw-r--r--Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs56
1 files changed, 56 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs b/Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs
new file mode 100644
index 00000000..d572083f
--- /dev/null
+++ b/Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs
@@ -0,0 +1,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();
+ }
+}