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.
Makes a request to the system for a new outgoing call.
public:
virtual VoipPhoneCall ^ RequestNewOutgoingCall(Platform::String ^ context, Platform::String ^ contactName, Platform::String ^ serviceName, VoipPhoneCallMedia media) = RequestNewOutgoingCall;
VoipPhoneCall RequestNewOutgoingCall(winrt::hstring const& context, winrt::hstring const& contactName, winrt::hstring const& serviceName, VoipPhoneCallMedia const& media);
public VoipPhoneCall RequestNewOutgoingCall(string context, string contactName, string serviceName, VoipPhoneCallMedia media);
function requestNewOutgoingCall(context, contactName, serviceName, media)
Public Function RequestNewOutgoingCall (context As String, contactName As String, serviceName As String, media As VoipPhoneCallMedia) 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
- VoipPhoneCallMedia
The media type of the new outgoing call (either audio and video or audio only). Pass Audio|Video if the user chose to start the call with outgoing video. This assumes that the user's device has a camera available for the app to use at the time the call is made. If this is not the case, or the user should only use audio, pass Audio.
Returns
The object representing the new outgoing call.
Windows requirements
App capabilities |
phoneCallHistory
phoneCallHistorySystem
voipCall
|