コード例 #1
0
        public void OnModuleStatusChanged(IBandyerModule module, BandyerModuleStatus moduleStatus)
        {
            Log.Debug(TAG, "OnModuleStatusChanged " + module + " " + moduleStatus);

            if (module.Name == "ChatModule" && (
                    module.Status == BandyerModuleStatus.Disconnected ||
                    module.Status == BandyerModuleStatus.Reconnecting ||
                    module.Status == BandyerModuleStatus.Ready ||
                    module.Status == BandyerModuleStatus.Connected
                    ))
            {
                ChatStatus(true);
            }
            else if (module.Name == "ChatModule")
            {
                ChatStatus(false);
            }

            if (module.Name == "CallModule" && (
                    module.Status == BandyerModuleStatus.Ready ||
                    module.Status == BandyerModuleStatus.Connected
                    ))
            {
                CallStatus(true);
            }
            else if (module.Name == "CallModule")
            {
                CallStatus(false);
            }

            if (module.Name == "CallModule" && module.Status == BandyerModuleStatus.Connected)
            {
                if (shouldStartCall)
                {
                    shouldStartCall = false;
                    startCallFromJoinUrl(joinUrlFromIntent);
                }
            }
        }
コード例 #2
0
 public void OnModulePaused(IBandyerModule module)
 {
     Log.Debug(TAG, "OnModulePaused " + module);
 }
コード例 #3
0
 public void OnModuleReady(IBandyerModule module)
 {
     Log.Debug(TAG, "OnModuleReady " + module);
 }
コード例 #4
0
 public void OnModuleFailed(IBandyerModule module, Throwable throwable)
 {
     Log.Debug(TAG, "OnModuleFailed " + module + " " + throwable);
 }