Package com.teamdev.jxbrowser.media
Interface MediaDevices
- All Superinterfaces:
Advisable<MediaCallback>
,EngineService
An engine service that allows accessing all the available media input devices.
-
Method Summary
Modifier and TypeMethodDescriptionlist
(MediaDeviceType type) Returns an immutable list of the details about all the available media input devices of the giventype
or an empty collection if there are no devices of the giventype
.Methods inherited from interface com.teamdev.jxbrowser.engine.EngineService
engine
-
Method Details
-
list
Returns an immutable list of the details about all the available media input devices of the giventype
or an empty collection if there are no devices of the giventype
.The list of devices is equal to the list you can see after navigating to the WebRTC input-output sample.
- Parameters:
type
- a media input device type- Throws:
ObjectClosedException
- when the engine is closed
-