VoipCallCoordinator.RequestNewIncomingCallWithOptions 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.
Requests a new call object from the system by using an IncomingVoipPhoneCallOptions object. Call this method from your VoIP app to tell the system that there's a new incoming call, and that you want to host an incoming call notification for that new call.
public:
virtual VoipPhoneCall ^ RequestNewIncomingCallWithOptions(IncomingVoipPhoneCallOptions ^ callOptions) = RequestNewIncomingCallWithOptions;
/// [Windows.Foundation.Metadata.Experimental]
VoipPhoneCall RequestNewIncomingCallWithOptions(IncomingVoipPhoneCallOptions const& callOptions);
[Windows.Foundation.Metadata.Experimental]
public VoipPhoneCall RequestNewIncomingCallWithOptions(IncomingVoipPhoneCallOptions callOptions);
function requestNewIncomingCallWithOptions(callOptions)
Public Function RequestNewIncomingCallWithOptions (callOptions As IncomingVoipPhoneCallOptions) As VoipPhoneCall
Parameters
- callOptions
- IncomingVoipPhoneCallOptions
An object representing the options to use when creating the new call.
Returns
An object representing the new initiated call in the incoming 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 |
phoneCallHistory
phoneCallHistorySystem
voipCall
|
Remarks
Use this method to create a new VoipPhoneCall object. You can use a VoipPhoneCall object to send in-app call notifications, and to handle events that the VoipPhoneCall raises. See VoipPhoneCall for more info about how to work with those notifications and events.