Share via


VoipPhoneCall.NotifyCallAccepted(VoipPhoneCallMedia) Method

Definition

Notifies the system that the VoIP call has been accepted.

public:
 virtual void NotifyCallAccepted(VoipPhoneCallMedia media) = NotifyCallAccepted;
void NotifyCallAccepted(VoipPhoneCallMedia const& media);
public void NotifyCallAccepted(VoipPhoneCallMedia media);
function notifyCallAccepted(media)
Public Sub NotifyCallAccepted (media As VoipPhoneCallMedia)

Parameters

media
VoipPhoneCallMedia

The media types of the new incoming call (either audio and video or audio only). Pass Audio|Video if the user chose to answer the call with outgoing video, or Audio if they answered with just audio.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.ApplicationModel.Calls.CallsVoipContract (introduced in v3.0)
App capabilities
backgroundVoIP voipCall

Remarks

This event notifies the system that the incoming VoIP call was answered from within your VoIP application's incoming call notification. You should raise this event in conjunction with the VoipCallCoordinator.RequestNewAppInitiatedCall method.

Applies to

See also