VoipCallCoordinator.RequestNewOutgoingCall Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RequestNewOutgoingCall(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. Notifies the system of a new outgoing call. |
RequestNewOutgoingCall(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. |
RequestNewOutgoingCall(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.
Notifies the system of a new outgoing call.
public:
virtual void RequestNewOutgoingCall(Platform::String ^ context, Platform::String ^ contactName, Platform::String ^ serviceName, VoipCallMedia media, [Out] VoipPhoneCall ^ & call) = RequestNewOutgoingCall;
void RequestNewOutgoingCall(winrt::hstring const& context, winrt::hstring const& contactName, winrt::hstring const& serviceName, VoipCallMedia const& media, [Out] VoipPhoneCall const& & call);
public void RequestNewOutgoingCall(string context, string contactName, string serviceName, VoipCallMedia media, out VoipPhoneCall call);
Public Sub RequestNewOutgoingCall (context As String, contactName As String, serviceName As String, media As VoipCallMedia, ByRef call As VoipPhoneCall)
Parameters
- context
-
String
Platform::String
winrt::hstring
A string that is passed to the associated foreground app as a deep link. The maximum length is 128 characters. This parameter must be non-null.
- contactName
-
String
Platform::String
winrt::hstring
The name or ID of the caller which is displayed in the phone's minimized call UI. The maximum length is 128 characters.
- serviceName
-
String
Platform::String
winrt::hstring
The name of the VoIP service which is displayed in the phone's minimized call UI. The maximum length is 128 characters.
- media
- VoipCallMedia
The media types of the new outgoing call.
- call
- VoipPhoneCall
The object representing the new outgoing call.
Windows requirements
App capabilities |
ID_CAP_VOIP [Windows Phone]
|
Applies to
RequestNewOutgoingCall(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 RequestNewOutgoingCall(Platform::String ^ context, Platform::String ^ contactName, Platform::String ^ serviceName, VoipCallMedia media, IVector<Platform::String ^> ^ pAssociatedDeviceIds, [Out] VoipPhoneCall ^ & call) = RequestNewOutgoingCall;
void RequestNewOutgoingCall(winrt::hstring const& context, winrt::hstring const& contactName, winrt::hstring const& serviceName, VoipCallMedia const& media, IVector<winrt::hstring> const& pAssociatedDeviceIds, [Out] VoipPhoneCall const& & call);
public void RequestNewOutgoingCall(string context, string contactName, string serviceName, VoipCallMedia media, IList<string> pAssociatedDeviceIds, out VoipPhoneCall call);
Public Sub RequestNewOutgoingCall (context As String, contactName 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
- serviceName
-
String
Platform::String
winrt::hstring
- media
- VoipCallMedia
- call
- VoipPhoneCall