Volume Control
Application-specific hotkeys for Windows
|
Manages the currently "selected" AudioSession instance for a given CoreAudio.AudioSessionManager object. More...
Public Member Functions | |
AudioSessionSelector (AudioSessionManager audioSessionManager) | |
Creates a new AudioSessionSelector instance bound to the given audioSessionManager . More... | |
void | SelectNextSession () |
Changes the Selected item to the next session in the list, looping back if necessary. More... | |
void | SelectPreviousSession () |
Changes the Selected item to the previous session in the list, looping back if necessary. More... | |
void | DeselectSession () |
Changes the Selected item to null . More... | |
Properties | |
AudioSession? | Selected [get, set] |
Gets or the sets the selected item. More... | |
int | SelectedIndex [get, set] |
bool | LockSelection [get, set] |
Properties inherited from VolumeControl.CoreAudio.Interfaces.IAudioSelector | |
int | SelectedIndex [get, set] |
Gets or sets the currently selected item by its index in the list. More... | |
bool | LockSelection [get, set] |
Gets or sets whether the selected item can be changed or not. More... | |
Events | |
PropertyChangedEventHandler? | PropertyChanged |
Manages the currently "selected" AudioSession instance for a given CoreAudio.AudioSessionManager object.
VolumeControl.CoreAudio.AudioSessionSelector.AudioSessionSelector | ( | AudioSessionManager | audioSessionManager | ) |
Creates a new AudioSessionSelector instance bound to the given audioSessionManager .
audioSessionManager | An CoreAudio.AudioSessionManager instance to select from. |
References VolumeControl.CoreAudio.AudioSessionManager.RemovedSessionFromList.
void VolumeControl.CoreAudio.AudioSessionSelector.DeselectSession | ( | ) |
Changes the Selected item to null
.
Does nothing if LockSelection == true
.
References VolumeControl.CoreAudio.AudioSessionSelector.LockSelection, and VolumeControl.CoreAudio.AudioSessionSelector.Selected.
void VolumeControl.CoreAudio.AudioSessionSelector.SelectNextSession | ( | ) |
Changes the Selected item to the next session in the list, looping back if necessary.
Does nothing if LockSelection == true
.
References VolumeControl.CoreAudio.AudioSessionSelector.LockSelection, VolumeControl.CoreAudio.AudioSessionSelector.SelectedIndex, and VolumeControl.CoreAudio.AudioSessionManager.Sessions.
void VolumeControl.CoreAudio.AudioSessionSelector.SelectPreviousSession | ( | ) |
Changes the Selected item to the previous session in the list, looping back if necessary.
Does nothing if LockSelection == true
.
References VolumeControl.CoreAudio.AudioSessionSelector.LockSelection, VolumeControl.CoreAudio.AudioSessionSelector.SelectedIndex, and VolumeControl.CoreAudio.AudioSessionManager.Sessions.
|
getset |
Gets or the sets the selected item.
Cannot be changed if LockSelection == true
.
Referenced by VolumeControl.CoreAudio.AudioSessionSelector.DeselectSession().