封装了与 Unity 对接 Android 和 ios 的接口
1.fun setMessageChannel(channel: MessageChannel)
2.fun gameStart()
3.fun gameEnd(int level, double score, int record, int mode, int opponentId)
4.fun getUserInfo(): String
5.fun getUserFriends()
6.fun connectDevice(int type)
7.fun connectDevice(string address, int type)
8.fun searchDevice(int type)
9.fun inviteFriend
10.fun screenProjection
11.fun vibrate