VoipCallCoordinator.RequestNewAppInitiatedCallWithOptions 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 AppInitiatedVoipPhoneCallOptions 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 ^ RequestNewAppInitiatedCallWithOptions(AppInitiatedVoipPhoneCallOptions ^ callOptions) = RequestNewAppInitiatedCallWithOptions;
/// [Windows.Foundation.Metadata.Experimental]
VoipPhoneCall RequestNewAppInitiatedCallWithOptions(AppInitiatedVoipPhoneCallOptions const& callOptions);
[Windows.Foundation.Metadata.Experimental]
public VoipPhoneCall RequestNewAppInitiatedCallWithOptions(AppInitiatedVoipPhoneCallOptions callOptions);
function requestNewAppInitiatedCallWithOptions(callOptions)
Public Function RequestNewAppInitiatedCallWithOptions (callOptions As AppInitiatedVoipPhoneCallOptions) As VoipPhoneCall
Parameters
- callOptions
- AppInitiatedVoipPhoneCallOptions
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 |
backgroundVoIP
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.