public class AudioOutput extends Object implements Iterable<AudioDevice>
An audio output has zero or more associated audio devices. Each device has a unique identifier than can be used to select the required output device for a media player.
Constructor and Description |
---|
AudioOutput(String name,
String description,
List<AudioDevice> devices)
Create an audio output.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the description.
|
List<AudioDevice> |
getDevices()
Get the collection of audio devices for this output.
|
String |
getName()
Get the name.
|
Iterator<AudioDevice> |
iterator() |
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public AudioOutput(String name, String description, List<AudioDevice> devices)
name
- namedescription
- descriptiondevices
- collection of audio devices for this outputpublic String getName()
public String getDescription()
public List<AudioDevice> getDevices()
public Iterator<AudioDevice> iterator()
iterator
in interface Iterable<AudioDevice>
Copyright © 2009–2015 Caprica Software Limited. All rights reserved.