Method Select
- Namespace
- DotNetBrowser.Media.Handlers
- Assembly
- DotNetBrowser.dll
Select(MediaDevice)
Creates a SelectMediaDeviceResponse that notifies the engine that the given media input device should be used.
public static SelectMediaDeviceResponse Select(MediaDevice defaultDevice)
Parameters
defaultDevice
MediaDeviceThe media device to use. Must be the one from the list of the media input devices received from the Devices. If an invalid device is passed through this method, the first device from the list of media devices will be used.
Returns
- SelectMediaDeviceResponse
The SelectMediaDeviceResponse instance that can be used as a return value in SelectMediaDeviceHandler.