Поделиться через


AccessoryManager.MakePhoneCall Метод

Определение

Перегрузки

MakePhoneCall(Guid, String)

Делает телефонный звонок.

MakePhoneCall(Guid, String, PhoneCallAudioEndpoint)

Делает телефонный звонок.

MakePhoneCall(Guid, String)

Делает телефонный звонок.

public:
 static void MakePhoneCall(Platform::Guid phoneLine, Platform::String ^ phoneNumber);
/// [Windows.Foundation.Metadata.Overload("MakePhoneCall")]
 static void MakePhoneCall(winrt::guid const& phoneLine, winrt::hstring const& phoneNumber);
[Windows.Foundation.Metadata.Overload("MakePhoneCall")]
public static void MakePhoneCall(Guid phoneLine, string phoneNumber);
function makePhoneCall(phoneLine, phoneNumber)
Public Shared Sub MakePhoneCall (phoneLine As Guid, phoneNumber As String)

Параметры

phoneLine
Guid

Platform::Guid

winrt::guid

Идентификатор телефонной линии. Сопоставляется со свойством LineId в PhoneLineDetails.

phoneNumber
String

Platform::String

winrt::hstring

Номер для вызова.

Атрибуты

Требования к Windows

Возможности приложения
accessoryManager

Комментарии

Для вызова этого API необходимо указать возможности ID_CAP_SMS и ID_CAP_SMS_COMPANION в манифесте приложения.

См. также раздел

Применяется к

MakePhoneCall(Guid, String, PhoneCallAudioEndpoint)

Делает телефонный звонок.

public:
 static void MakePhoneCall(Platform::Guid phoneLine, Platform::String ^ phoneNumber, PhoneCallAudioEndpoint endPoint);
/// [Windows.Foundation.Metadata.Overload("MakePhoneCallOnAudioEndpoint")]
 static void MakePhoneCall(winrt::guid const& phoneLine, winrt::hstring const& phoneNumber, PhoneCallAudioEndpoint const& endPoint);
[Windows.Foundation.Metadata.Overload("MakePhoneCallOnAudioEndpoint")]
public static void MakePhoneCall(Guid phoneLine, string phoneNumber, PhoneCallAudioEndpoint endPoint);
function makePhoneCall(phoneLine, phoneNumber, endPoint)
Public Shared Sub MakePhoneCall (phoneLine As Guid, phoneNumber As String, endPoint As PhoneCallAudioEndpoint)

Параметры

phoneLine
Guid

Platform::Guid

winrt::guid

Идентификатор телефонной линии. Сопоставляется со свойством LineId в PhoneLineDetails.

phoneNumber
String

Platform::String

winrt::hstring

Номер для вызова.

endPoint
PhoneCallAudioEndpoint

Конечная аудиоконечная точка звонка.

Атрибуты

Требования к Windows

Возможности приложения
accessoryManager

Комментарии

Для вызова этого API необходимо указать возможности ID_CAP_SMS и ID_CAP_SMS_COMPANION в манифесте приложения.

См. также раздел

Применяется к