Dart Documentationchrome.audioInputDeviceInfo

InputDeviceInfo class

class InputDeviceInfo extends ChromeObject {
 InputDeviceInfo({String id, String name, bool isActive, bool isMuted, num gain}) {
   if (id != null) this.id = id;
   if (name != null) this.name = name;
   if (isActive != null) this.isActive = isActive;
   if (isMuted != null) this.isMuted = isMuted;
   if (gain != null) this.gain = gain;
 }
 InputDeviceInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 String get id => jsProxy['id'];
 set id(String value) => jsProxy['id'] = value;

 String get name => jsProxy['name'];
 set name(String value) => jsProxy['name'] = value;

 bool get isActive => jsProxy['isActive'];
 set isActive(bool value) => jsProxy['isActive'] = value;

 bool get isMuted => jsProxy['isMuted'];
 set isMuted(bool value) => jsProxy['isMuted'] = value;

 num get gain => jsProxy['gain'];
 set gain(num value) => jsProxy['gain'] = jsify(value);
}

Extends

ChromeObject > InputDeviceInfo

Constructors

new InputDeviceInfo({String id, String name, bool isActive, bool isMuted, num gain}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
InputDeviceInfo({String id, String name, bool isActive, bool isMuted, num gain}) {
 if (id != null) this.id = id;
 if (name != null) this.name = name;
 if (isActive != null) this.isActive = isActive;
 if (isMuted != null) this.isMuted = isMuted;
 if (gain != null) this.gain = gain;
}

new InputDeviceInfo.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
InputDeviceInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

num gain #

num get gain => jsProxy['gain'];
set gain(num value) => jsProxy['gain'] = jsify(value);

String id #

String get id => jsProxy['id'];
set id(String value) => jsProxy['id'] = value;

bool isActive #

bool get isActive => jsProxy['isActive'];
set isActive(bool value) => jsProxy['isActive'] = value;

bool isMuted #

bool get isMuted => jsProxy['isMuted'];
set isMuted(bool value) => jsProxy['isMuted'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String name #

String get name => jsProxy['name'];
set name(String value) => jsProxy['name'] = value;

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();