diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XUtliPoolLib/IApolloManager.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/IApolloManager.cs')
-rw-r--r-- | Client/Assets/Scripts/XUtliPoolLib/IApolloManager.cs | 55 |
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);
+ }
+}
|