Molybden API
Loading...
Searching...
No Matches
molybden::SelectMediaDeviceAction Class Reference

The MediaDelegates::onSelectMediaDevice action. More...

#include <media_delegates.hpp>

Inheritance diagram for molybden::SelectMediaDeviceAction:
molybden::Action

Public Member Functions

 SelectMediaDeviceAction (std::unique_ptr< rpc::internal::Callback > callback)
 
void select (const MediaDeviceInfo &media_device_info)
 Tells the browser that the given media input device should be used.
 
- Public Member Functions inherited from molybden::Action
 Action (std::unique_ptr< rpc::internal::Callback > callback)
 

Additional Inherited Members

- Protected Attributes inherited from molybden::Action
std::unique_ptr< rpc::internal::Callback > callback_
 

Detailed Description

Member Function Documentation

◆ select()

void molybden::SelectMediaDeviceAction::select ( const MediaDeviceInfo media_device_info)

Tells the browser that the given media input device should be used.

The media_device_info must be the one from the SelectMediaDeviceArgs::media_device_infos list. If an invalid device info is selected, the first device from the list will be used.


The documentation for this class was generated from the following file: