summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs
+scripts
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();
+ }
+}