Molybden API
|
A class that contains all media delegates. More...
#include <media_delegates.hpp>
Public Attributes | |
Delegate< SelectMediaDeviceArgs, SelectMediaDeviceAction > | onSelectMediaDevice |
Invoked when the web page asks which media input device should be used. | |
A class that contains all media delegates.
Delegate<SelectMediaDeviceArgs, SelectMediaDeviceAction> molybden::MediaDelegates::onSelectMediaDevice |
Invoked when the web page asks which media input device should be used.
If there is no media input devices of the requested type (e.g. there are no video input devices), then the callback will not be invoked).
Important: the main process will be blocked until you provide a response.
Use the following approach to register a callback:
In order to unregister the callback, use the reset()
method: