-api-id | -api-type |
---|---|
T:Windows.ApplicationModel.Calls.VoipPhoneCall |
winrt class |
Represents a VoIP phone call.
Call the VoipCallCoordinator.RequestNewAppInitiatedCall method to create a new VoipPhoneCall object. You can then use the VoipPhoneCall object to set up a new in-app call notification, and to handle events that the VoipPhoneCall raises.
If the user accepts the call, then your application should call NotifyCallAccepted. If the call is rejected or unanswered, then call NotifyCallEnded. Alternatively, the system itself can raise the AnswerRequested or RejectRequested events, and your VoIP application can handle those events in order to determine whether the user has accepted or rejected the incoming call via the HID device.
Windows version | SDK version | Value added |
---|---|---|
1709 | 16299 | TryShowAppUI |
1803 | 17134 | NotifyCallAccepted |
phoneCallHistory, phoneCallHistorySystem, voipCall