Jaa


VoipCallCoordinator.SetupNewAcceptedCallWithOptions Method

Definition

Sets up a newly accepted call by using an AcceptedVoipPhoneCallOptions object.

public:
 virtual VoipPhoneCall ^ SetupNewAcceptedCallWithOptions(AcceptedVoipPhoneCallOptions ^ callOptions) = SetupNewAcceptedCallWithOptions;
/// [Windows.Foundation.Metadata.Experimental]
VoipPhoneCall SetupNewAcceptedCallWithOptions(AcceptedVoipPhoneCallOptions const& callOptions);
[Windows.Foundation.Metadata.Experimental]
public VoipPhoneCall SetupNewAcceptedCallWithOptions(AcceptedVoipPhoneCallOptions callOptions);
function setupNewAcceptedCallWithOptions(callOptions)
Public Function SetupNewAcceptedCallWithOptions (callOptions As AcceptedVoipPhoneCallOptions) As VoipPhoneCall

Parameters

callOptions
AcceptedVoipPhoneCallOptions

An object representing the options to use when creating the new accepted call.

Returns

An object representing the new initiated call in the active state.

Attributes

Windows requirements

Device family
Windows 11, version 24H2 (introduced in 10.0.26100.0)
API contract
Windows.ApplicationModel.Calls.CallsVoipContract (introduced in v5.0)
App capabilities
backgroundVoIP phoneCallHistory phoneCallHistorySystem voipCall

Remarks

Use this method instead of RequestNewIncomingCall in auto-accept scenarios, where an incoming call is automatically accepted and connected with video. Possible applications include a home surveillance camera, or helping elderly or disabled users accept calls.

Applies to