19 строки
476 B
C#
19 строки
476 B
C#
using Windows.ApplicationModel.Calls;
|
|
using Windows.Foundation.Metadata;
|
|
|
|
namespace Xamarin.Essentials
|
|
{
|
|
public static partial class PhoneDialer
|
|
{
|
|
internal static bool IsSupported =>
|
|
ApiInformation.IsTypePresent("Windows.ApplicationModel.Calls.PhoneCallManager");
|
|
|
|
static void PlatformOpen(string number)
|
|
{
|
|
ValidateOpen(number);
|
|
|
|
PhoneCallManager.ShowPhoneCallUI(number, string.Empty);
|
|
}
|
|
}
|
|
}
|