Class AudioManager
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.dll
Provides the ability to control volume levels and monitor audio devices.
C#Copypublic static class AudioManager
- Inheritance
-
objectAudioManager
Properties
Declaration
C#Copypublic static AudioVolume VolumeController { get; }
Property Value
Type | Description |
---|---|
AudioVolume | The AudioVolume. |
Methods
Declaration
C#Copypublic static IEnumerable<AudioDevice> GetConnectedDevices()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><AudioDevice> | An IEnumerable<AudioDevice> that contains connected devices. |
Events
View Source
DeviceConnectionChanged
Occurs when the state of a connection of an audio device changes.
Declaration
C#Copypublic static event EventHandler<AudioDeviceConnectionChangedEventArgs> DeviceConnectionChanged
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><AudioDeviceConnectionChangedEventArgs> |
View Source
DeviceRunningChanged
Occurs when the audio stream started actually to run on the device.
Declaration
C#Copypublic static event EventHandler<AudioDeviceRunningChangedEventArgs> DeviceRunningChanged
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><AudioDeviceRunningChangedEventArgs> |
Remarks
If this event is invoked once and the audio stream is still running on the device,
this event will not be invoked anymore, even if there are more audio streams to run.
This event is invoked only when all streams are stopped and a new stream starts to run.
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | AudioManager failed to communicate internally or allocate memory. |