summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/IApolloManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/IApolloManager.cs')
-rw-r--r--Client/Assets/Scripts/XUtliPoolLib/IApolloManager.cs55
1 files changed, 55 insertions, 0 deletions
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);
+ }
+}