MediaDeviceInfo class
Information about some media device.
Constructors
- MediaDeviceInfo.fromFFI(MediaDeviceInfo info)
-
Creates a MediaDeviceInfo basing on the
ffi.MediaDeviceInfo
received from the native side. - MediaDeviceInfo.fromMap(dynamic map)
- Creates a MediaDeviceInfo basing on the Map received from the native side.
Properties
- deviceId ↔ String
-
Identifier of the represented device.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFailed ↔ bool
-
Indicator whether the last attempt to use this device failed.
getter/setter pair
- kind ↔ MediaDeviceKind
-
Media kind of the device (for example,
audioinput
for microphone).getter/setter pair - label ↔ String
-
Human-readable device description (for example, "External USB Webcam").
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited