Share via


AudioRoutingManager.SetAudioEndpoint(AudioRoutingEndpoint) Method

Definition

Requests a different audio endpoint.

public:
 virtual void SetAudioEndpoint(AudioRoutingEndpoint endpoint) = SetAudioEndpoint;
void SetAudioEndpoint(AudioRoutingEndpoint const& endpoint);
public void SetAudioEndpoint(AudioRoutingEndpoint endpoint);
function setAudioEndpoint(endpoint)
Public Sub SetAudioEndpoint (endpoint As AudioRoutingEndpoint)

Parameters

endpoint
AudioRoutingEndpoint

The audio endpoint to use.

Windows requirements

App capabilities
ID_CAP_VOIP [Windows Phone]

Remarks

Setting the audio endpoint will only succeed if you have an active communications-category audio stream in the system. Otherwise, it will fail.

Applies to