setProperties method

Future<void> setProperties(
  1. String id,
  2. DeviceProperties properties
)

Sets the properties for the input or output device.

Implementation

Future<void> setProperties(
  String id,
  DeviceProperties properties,
) async {
  await promiseToFuture<void>($js.chrome.audio.setProperties(
    id,
    properties.toJS,
  ));
}