From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Assets/Scripts/XUtliPoolLib/IApolloManager.cs | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Client/Assets/Scripts/XUtliPoolLib/IApolloManager.cs (limited to 'Client/Assets/Scripts/XUtliPoolLib/IApolloManager.cs') diff --git a/Client/Assets/Scripts/XUtliPoolLib/IApolloManager.cs b/Client/Assets/Scripts/XUtliPoolLib/IApolloManager.cs new file mode 100644 index 00000000..2c31a599 --- /dev/null +++ b/Client/Assets/Scripts/XUtliPoolLib/IApolloManager.cs @@ -0,0 +1,55 @@ +using System; + +namespace XUtliPoolLib +{ + public interface IApolloManager + { + bool openMusic { get; set; } + + bool openSpeak { get; set; } + + void Init(int channel, string openid); + + void SetRealtimeMode(); + + void ForbitMember(int memberId, bool bEnable); + + void JoinRoom(string url1, string url2, string url3, long roomId, long roomKey, short memberId); + + void JoinBigRoom(string urls, int role, uint busniessID, long roomid, long roomkey, short memberid); + + bool GetJoinRoomResult(); + + bool GetJoinRoomBigResult(); + + int[] GetMembersState(ref int size); + + void QuitRoom(long roomId, short memberId); + + void QuitBigRoom(); + + int GetSpeakerVolume(); + + void SetMusicVolum(int nVol); + + int InitApolloEngine(int ip1, int ip2, int ip3, int ip4, byte[] key, int len); + + int StartRecord(string filename); + + int StopApolloRecord(); + + int GetApolloUploadStatus(); + + int UploadRecordFile(string filename); + + string GetFileID(); + + int GetMicLevel(); + + int StartPlayVoice(string filepath); + + int StopPlayVoice(); + + int SetApolloMode(int mode); + } +} -- cgit v1.1-26-g67d0