VoipCallCoordinator.SetupNewAcceptedCallWithOptions 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.
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.