Share via


VoipCallCoordinator.SetupNewAcceptedCall Method

Definition

Overloads

SetupNewAcceptedCall(String, String, String, String, VoipCallMedia, IVector<String>, VoipPhoneCall)

Important

The types in the Windows.Phone.Networking.Voip namespace are deprecated, and may not be available in future versions of Windows. Instead, use the equivalent types in the Windows.ApplicationModel.Calls namespace.

SetupNewAcceptedCall(String, String, String, String, VoipCallMedia, VoipPhoneCall)

Important

The types in the Windows.Phone.Networking.Voip namespace are deprecated, and may not be available in future versions of Windows. Instead, use the equivalent types in the Windows.ApplicationModel.Calls namespace.

Prepares to receive a new incoming call, with the intent that the call will be accepted.

SetupNewAcceptedCall(String, String, String, String, VoipCallMedia, IVector<String>, VoipPhoneCall)

Important

The types in the Windows.Phone.Networking.Voip namespace are deprecated, and may not be available in future versions of Windows. Instead, use the equivalent types in the Windows.ApplicationModel.Calls namespace.

public:
 virtual void SetupNewAcceptedCall(Platform::String ^ context, Platform::String ^ contactName, Platform::String ^ contactNumber, Platform::String ^ serviceName, VoipCallMedia media, IVector<Platform::String ^> ^ pAssociatedDeviceIds, [Out] VoipPhoneCall ^ & call) = SetupNewAcceptedCall;
void SetupNewAcceptedCall(winrt::hstring const& context, winrt::hstring const& contactName, winrt::hstring const& contactNumber, winrt::hstring const& serviceName, VoipCallMedia const& media, IVector<winrt::hstring> const& pAssociatedDeviceIds, [Out] VoipPhoneCall const& & call);
public void SetupNewAcceptedCall(string context, string contactName, string contactNumber, string serviceName, VoipCallMedia media, IList<string> pAssociatedDeviceIds, out VoipPhoneCall call);
Public Sub SetupNewAcceptedCall (context As String, contactName As String, contactNumber As String, serviceName As String, media As VoipCallMedia, pAssociatedDeviceIds As IList(Of String), ByRef call As VoipPhoneCall)

Parameters

context
String

Platform::String

winrt::hstring

contactName
String

Platform::String

winrt::hstring

contactNumber
String

Platform::String

winrt::hstring

serviceName
String

Platform::String

winrt::hstring

pAssociatedDeviceIds

IList<String>

IVector<Platform::String>

IVector<winrt::hstring>

Applies to

SetupNewAcceptedCall(String, String, String, String, VoipCallMedia, VoipPhoneCall)

Important

The types in the Windows.Phone.Networking.Voip namespace are deprecated, and may not be available in future versions of Windows. Instead, use the equivalent types in the Windows.ApplicationModel.Calls namespace.

Prepares to receive a new incoming call, with the intent that the call will be accepted.

public:
 virtual void SetupNewAcceptedCall(Platform::String ^ context, Platform::String ^ contactName, Platform::String ^ contactNumber, Platform::String ^ serviceName, VoipCallMedia media, [Out] VoipPhoneCall ^ & call) = SetupNewAcceptedCall;
void SetupNewAcceptedCall(winrt::hstring const& context, winrt::hstring const& contactName, winrt::hstring const& contactNumber, winrt::hstring const& serviceName, VoipCallMedia const& media, [Out] VoipPhoneCall const& & call);
public void SetupNewAcceptedCall(string context, string contactName, string contactNumber, string serviceName, VoipCallMedia media, out VoipPhoneCall call);
Public Sub SetupNewAcceptedCall (context As String, contactName As String, contactNumber As String, serviceName As String, media As VoipCallMedia, ByRef call As VoipPhoneCall)

Parameters

context
String

Platform::String

winrt::hstring

The context for the incoming call.

contactName
String

Platform::String

winrt::hstring

The name of the incoming caller.

contactNumber
String

Platform::String

winrt::hstring

The phone number of the incoming caller.

serviceName
String

Platform::String

winrt::hstring

The name of the service that the caller is using.

media
VoipCallMedia

Specifies the type of media used by the call; audio, video, or none.

call
VoipPhoneCall

The object that represents the VoIP call.

Windows requirements

App capabilities
voipCall

Applies to