From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs | 56 +++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs (limited to 'Client/Assets/Scripts/XUtliPoolLib/IXIFlyMgr.cs') 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 action); + + void SetVoiceCallback(Action 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(); + } +} -- cgit v1.1-26-g67d0