Share via


VoipPhoneCall.NotifyCallAccepted(VoipCallMedia) Method

Definition

Important

The types in the Windows.Phone.Networking.Voip namespace are deprecated, and may not be available in future versions of Windows. Instead, use the equivalent types in the Windows.ApplicationModel.Calls namespace.

Notifies the system that the VoIP call has been accepted.

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

Parameters

media
VoipCallMedia

The media types used by the call (whether the call is audio/video rather than audio only).

Windows requirements

App capabilities
ID_CAP_VOIP [Windows Phone]

Remarks

The system will raise VoipPhoneCall.AnswerRequested to signal to the VoIP App that the call has been accepted by the system. After the event is raised, the VoIP App must call VoipPhoneCall.NotifyCallActive within 5 seconds.

Applies to