AudioRoutingManager Class
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.
Provides functionality that lets Voice over IP applications route audio to endpoints other than the speakerphone.
public ref class AudioRoutingManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AudioRoutingManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AudioRoutingManager
Public NotInheritable Class AudioRoutingManager
- Inheritance
- Attributes
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced in v1.0)
|
| App capabilities |
ID_CAP_VOIP [Windows Phone]
|
Remarks
The APIs in the Windows.Phone.Media.Devices namespace require the ID_CAP_AUDIOROUTING capability.
Properties
| Name | Description |
|---|---|
| AvailableAudioEndpoints |
Gets the list of available audio routing endpoints. |
Methods
| Name | Description |
|---|---|
| GetAudioEndpoint() |
Gets the audio endpoint currently in use. |
| GetDefault() |
Gets the default instance of the AudioRoutingManager class. |
| SetAudioEndpoint(AudioRoutingEndpoint) |
Requests a different audio endpoint. |
Events
| Name | Description |
|---|---|
| AudioEndpointChanged |
Occurs when the audio endpoint currently in use has changed, or when the set of available audio endpoints has changed. |