[UWP] SMS App UWP [英] [UWP]SMS App UWP
问题描述
我正在开发使用SmsDevice2类发送短信的应用程序。我需要在不离开应用程序的情况下发送短信。在SmsDevice2的文档中,我找到了这个注释。
注意 此
功能仅适用于移动运营商应用和Windows应用商店应用,具有移动网络运营商,移动宽带适配器IHV的特权访问权限,或者OEM。
获得此特权访问权限的方法是什么?考虑获得它是否是现实的?
如果没有,是否有其他方式可以在不离开应用程序的情况下发送短信,或者是使用 Windows.ApplicationModel.Chat.ChatMessageManager。 ShowComposeSmsMessageAsync ?
问候,
Martin
您唯一的另一个选择是使用服务像twilio发送短信。 请注意,这不是免费的,您也不会通过电话号码发送。
I am developing application sending SMS using SmsDevice2 class. I need to send SMS without leaving the application. In the documentation of SmsDevice2 I found this note.
Note This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM.
What is the way to get this privileged access? Is it even realistic to think about getting it?
If not, is there any other way to send SMS without leaving the application or is the only way to send SMS using Windows.ApplicationModel.Chat.ChatMessageManager.ShowComposeSmsMessageAsync?
Regards,
Martin
The only other option you have is to use a service like twilio to send an sms message. Keep in mind this is not free and you will not be sending it from the phones number.
这篇关于[UWP] SMS App UWP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!