SelectMediaDeviceCallback

interface SelectMediaDeviceCallback : MediaAsyncCallback<P, R>

A callback invoked when a web page requests to select a media input device.

If there are no media input devices of the requested type (e.g., no video input devices are available), this callback will not be invoked.

If this callback throws an exception, the system's default media input device will be used instead.

Since

7.1

Types

Link copied to clipboard
An action providing a response to the SelectMediaDeviceCallback.
Link copied to clipboard
interface Params
Parameters for the SelectMediaDeviceCallback.

Functions

Link copied to clipboard
abstract fun on(params: P, tell: R)
Invoked when the callback needs a response for the given callback parameters.