wxr
2024-09-30 dc9a1b15bb69227e19afc070adf58156a362d2a2
HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -564,32 +564,33 @@
                #endregion
#if DEBUG
                //bool isPlay= false;
                btnResidenceName.MouseUpEventHandler = (envent, ee) =>
                {
#if __ANDROID__
                    //Com.Hdl.Hdllinphonesdk.HDLLinphoneKit.Instance.PlayRingtone();
                    //Android.Media.AudioManager audioManager = (Android.Media.AudioManager)Application.Activity.GetSystemService(Android.Content.Context.AudioService);
                    //Console.WriteLine(audioManager.RingerMode);
                    try
                    {
                        var ddd = Com.Hdl.Hdllinphonesdk.HDLLinphoneKit.Instance.AudioManager.RingerMode ;
                        Console.WriteLine(ddd + ";;;;ddd");//   ddd   Vibrate   震动 、、   ddd   Silent   静音//   ddd   Normal
                    }
                    catch(Exception e)
                    {
                        Console.WriteLine("dddd"+e.StackTrace);
                    }
                    //try
                    //{
                    //    var ddd = Com.Hdl.Hdllinphonesdk.HDLLinphoneKit.Instance.AudioManager.RingerMode ;
                    //    Console.WriteLine(ddd + ";;;;ddd");//   ddd   Vibrate   震动 、、   ddd   Silent   静音//   ddd   Normal
                    //}
                    //catch(Exception e)
                    //{
                    //    Console.WriteLine("dddd"+e.StackTrace);
                    //}
#elif __IOS__
                    //if (isPlay)
                    //{
                    //    isPlay = false;
                    //    soundPlayer.StopSound();
                    //    Other.SoundPlayer.Ins.StopSound();
                    //}
                    //else
                    //{
                    //    isPlay = true;
                    //    soundPlayer.PlaySound();
                    //    Other.SoundPlayer.Ins.PlaySound();
                    //}
#endif