AccessoryManager.MakePhoneCall Method

Definition

Overloads

MakePhoneCall(Guid, String)

Makes a phone call.

MakePhoneCall(Guid, String, PhoneCallAudioEndpoint)

Makes a phone call.

MakePhoneCall(Guid, String)

Makes a phone call.

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)

Parameters

phoneLine
Guid

Platform::Guid

winrt::guid

The identifier of the phone line. Maps to the LineId property in PhoneLineDetails.

phoneNumber
String

Platform::String

winrt::hstring

The number to call.

Attributes

Windows requirements

App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

See also

Applies to

MakePhoneCall(Guid, String, PhoneCallAudioEndpoint)

Makes a phone call.

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)

Parameters

phoneLine
Guid

Platform::Guid

winrt::guid

The identifier of the phone line. Maps to the LineId property in PhoneLineDetails.

phoneNumber
String

Platform::String

winrt::hstring

The number to call.

endPoint
PhoneCallAudioEndpoint

The audio end point of the call.

Attributes

Windows requirements

App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

See also

Applies to