예제 #1
0
        public async void PhoneCall(string directionParam)
        {
            var phome = ConvertParameterFromWebView <PhoneCallParameter>(directionParam);

            if (phome != null)
            {
                PhoneService.Call(phome?.PhoneNumber);
            }
            else
            {
                await App.Current.MainPage.DisplayAlert("แจ้งเตือน", "ขออภัย เกิดข้อผิดพลาด", "ปิด");
            }
        }
예제 #2
0
        public async void PhoneCall(string phoneParam)
        {
            var phome = ConvertParameterFromWebView <PhoneCallParameter>(phoneParam);

            if (phome != null)
            {
                PhoneService.Call(phome?.PhoneNumber);
            }
            else
            {
                PageService.DisplayAlert("แจ้งเตือน", "ขออภัย เกิดข้อผิดพลาด", "ปิด");
            }
        }